default_motor_p2_planetary_powers¶
-
default_motor_p2_planetary_powers
(times, has_motor_p2_planetary)[source]¶ Return zero power if the vehicle has not a planetary motor P2 [kW].
Parameters: - times (numpy.array) – Time vector [s].
- has_motor_p2_planetary (bool) – Has the vehicle a motor in planetary P2?
Returns: Power at planetary motor P2 [kW].
Return type: numpy.array