default_motor_p1_powers

default_motor_p1_powers(times, has_motor_p1)[source]

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

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

Power at motor P1 [kW].

Return type:

numpy.array