predict_engine_coolant_temperatures

predict_engine_coolant_temperatures(engine_temperature_regression_model, times, on_engine, velocities, engine_speeds_out, accelerations, initial_engine_temperature, max_engine_coolant_temperature)[source]

Predicts the engine temperature [°C].

Parameters:
  • engine_temperature_regression_model (callable) – Engine temperature regression engine_temperature_regression_model.
  • times (numpy.array) – Time vector [s].
  • accelerations (numpy.array) – Acceleration vector [m/s2].
  • on_engine (numpy.array) – If the engine is on [-].
  • velocities (numpy.array) – Velocity [km/h].
  • engine_speeds_out (numpy.array) – Engine speed [RPM].
  • initial_engine_temperature (float) – Engine initial temperature [°C]
  • max_engine_coolant_temperature (float) – Maximum engine coolant temperature [°C].
Returns:

Engine coolant temperature vector [°C].

Return type:

numpy.array