Functions and dsp model to model the electric motor in P2 position.


calculate_gear_box_speeds_in Calculates Gear box speed vector [RPM].
calculate_motor_p2_electric_powers Calculates motor P2 electric power [kW].
calculate_motor_p2_maximum_power Calculate the maximum power of motor P2 [kW].
calculate_motor_p2_maximum_powers Calculate the maximum power vector of motor P2 [kW].
calculate_motor_p2_maximum_torque Calculate the maximum torque of motor P2 [N*m].
calculate_motor_p2_powers Calculates power at motor P2 [kW].
calculate_motor_p2_powers_v1 Calculate motor P2 power from electric power and electric power losses [kW].
calculate_motor_p2_rated_speed Calculate the rated speed of motor P2 [RPM].
calculate_motor_p2_speeds Calculates rotating speed of motor P2 [RPM].
calculate_motor_p2_speeds_v1 Calculates rotating speed of motor P2 [RPM].
calculate_motor_p2_torques Calculates torque at motor P2 [N*m].
default_motor_p2_powers Return zero power if the vehicle has not a motor P2 [kW].
define_motor_p2_maximum_power_function Define the maximum power function of motor P2.
identify_has_motor_p2 Identify if the vehicle has a motor P2 [kW].
identify_motor_p2_maximum_power Identify the maximum power of motor P2 [kW].
identify_motor_p2_maximum_torque Identify the maximum torque of motor P2 [N*m].
identify_motor_p2_speed_ratio Identifies motor P2 speed ratio.


dsp Models the motor P2 (motor upstream the gear box).