default_motor_p0_powers

default_motor_p0_powers(times, has_motor_p0)[source]

Return zero power if the vehicle has not a motor P0 [kW].

Parameters:
  • times (numpy.array) – Time vector [s].
  • has_motor_p0 (bool) – Has the vehicle a motor in P0?
Returns:

Power at motor P0 [kW].

Return type:

numpy.array