dsp

dsp = Motor P2

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

Motor P2’s data
gear_box_speeds_in Gear box speed vector [RPM].
has_motor_p2 Has the vehicle a motor in P2?
motor_p2_efficiency Motor P2 efficiency [-].
motor_p2_electric_powers Electric power of motor P2 [kW].
motor_p2_maximum_power Maximum power of motor P2 [kW].
motor_p2_maximum_power_function Maximum power function of motor P2.
motor_p2_maximum_powers Maximum power vector of motor P2 [kW].
motor_p2_maximum_torque Maximum torque of motor P2 [N*m].
motor_p2_powers Power at motor P2 [kW].
motor_p2_rated_speed Rated speed of motor P2 [RPM].
motor_p2_speed_ratio Ratio between motor P2 speed and gear box speed [-].
motor_p2_speeds Rotating speed of motor P2 [RPM].
motor_p2_torques Torque at motor P2 [N*m].
times Time vector [s].
Motor P2’s functions
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.