RCAIDE.Library.Methods.Powertrain.Converters.Motor.compute_motor_performance

compute_motor_performance#

compute_motor_performance(motor, conditions)[source]#

Computes motor performance characteristics including electrical, mechanical and thermal parameters.

Parameters:
  • motor (Converter) – Motor component (DC_Motor or PMSM_Motor) for which performance is being computed

  • motor_conditions (Conditions) – Container for motor operating conditions

  • conditions (Conditions) – Mission segment conditions containing freestream properties

Returns:

Updates motor_conditions in-place with computed performance parameters

Return type:

None

Notes

This function handles both PMSM and DC motor types with different computation approaches:

For PMSM motors:
  • Computes electromagnetic torque and power

  • Accounts for gearbox effects

  • Calculates thermal resistances and heat transfer

  • Determines cooling flow characteristics

  • Evaluates airgap and endspace heat transfer

For DC motors:
  • Uses speed-torque relationships

  • Accounts for gearbox effects

  • Determines overall efficiency

For Both Motors:
  • motor.inverse_calculation arg is used to determine parameters that are solved.

  • motor.inverse_calculation == False calculates electrical properties (electrical power and voltage) from mechnical properties (rpm and torque)

  • motor.inverse_calculation == True calculates mechanial properties (rpm and torque) from electrical properties (electrical power and voltage)

Major Assumptions
  • Steady state operation

  • Uniform temperature distribution

  • No magnetic saturation effects

  • Linear speed-torque characteristics for DC motors

  • Constant material properties