calculate_starter_powers¶
-
calculate_starter_powers
(start_demand_function, times, on_engine, delta_time_engine_starter, engine_speeds_out)[source]¶ Calculates starter power [kW].
Parameters: - start_demand_function (function) – Energy required to start the engine function.
- times (numpy.array) – Time vector.
- on_engine (numpy.array) – If the engine is on [-].
- delta_time_engine_starter (float) – Time elapsed to turn on the engine with electric starter [s].
- engine_speeds_out (numpy.array) – Engine speed [RPM].
Returns: Starter power [kW].
Return type: numpy.array