default_motor_p4_powers

default_motor_p4_powers(times, has_motor_p4)[source]

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

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

Power at motor P4 [kW].

Return type:

numpy.array