calibrate_ems_model

calibrate_ems_model(drive_battery_model, hev_power_model, fuel_map_model, hybrid_modes, serial_motor_maximum_power_function, motive_powers, motors_maximums_powers, engine_powers_out, engine_speeds_out, times, engine_power_losses_function, is_serial, has_motor_p2_planetary)[source]

Calibrate Energy Management Strategy model.

Parameters:
  • drive_battery_model (DriveBatteryModel) – Drive battery current model.
  • hev_power_model (HEV) – Hybrid Electric Vehicle power balance model.
  • fuel_map_model (FuelMapModel) – Fuel map model.
  • hybrid_modes (numpy.array) – Hybrid mode status (0: EV, 1: Parallel, 2: Serial).
  • serial_motor_maximum_power_function (function) – Serial motor maximum power function.
  • motive_powers (numpy.array) – Motive power [kW].
  • motors_maximums_powers (numpy.array) – Maximum powers of electric motors [kW].
  • engine_powers_out (numpy.array) – Engine power vector [kW].
  • engine_speeds_out (numpy.array) – Engine speed [RPM].
  • times (numpy.array) – Time vector [s].
  • engine_power_losses_function (function) – Engine power losses function.
  • is_serial (bool) – Is the vehicle serial hybrid?
  • has_motor_p2_planetary (bool) – Has the vehicle a motor in planetary P2?
Returns:

Equivalent Consumption Minimization Strategy params.

Return type:

tuple[float]