Skip to content

Electric Motor Model Updates#1008

Open
ehariton wants to merge 30 commits intoOpenMDAO:mainfrom
ehariton:motor_premission2
Open

Electric Motor Model Updates#1008
ehariton wants to merge 30 commits intoOpenMDAO:mainfrom
ehariton:motor_premission2

Conversation

@ehariton
Copy link
Contributor

@ehariton ehariton commented Feb 25, 2026

Summary

  • New metadata entry to handle electric motor maps Aircraft.Engine.Motor.DATA_FILE.

  • User can now set Aircraft.Engine.Motor.DATA_FILE through Aviary options to specify which map file to use.

  • 1 map .csv broken out of motor_mapy.py now included by default in repo

  • Unit specification for Motor map is now specified in the map.csv file and units from there are imported and set properly

  • Removed map extrapolation to prevent issues where efficiency would go over 100% due to off-map exploration

  • Reworded definition of Aircraft.Engine.SCALE_FACTOR so it is not exclusive for turbine engines (they scale based on thrust)

  • Aircraft.Engine.SCALE_FACTOR is still used but scales based on Torque and docs reflect this

  • Add doc page for Motor

  • Added note that overrides do not work for the motor subsystem

  • Reworked the model option processor so that we also remove the "brackets" when setting options on single-engine models. We were getting lucky in that the handful of options that were inadvertently kept as lists didn't break any calculations.

  • Adjusted the turboprop_model unit test to be more like an Aviary model so that the model options glob patterns find the engine components.

  • Title change in Docs for "Using External Subsystems" to "External Subsystems" for clarity

Related Issues

Backwards incompatibilities

None

New Dependencies

None

ehariton and others added 30 commits January 21, 2026 18:17
…s as an input, to remove RPM as an input completely, since this input has no effect on the motor mass calculation, which is the purpose of motor premission
…ion input instead, rephrased Aircraft.Engine.SCALE_FACTOR to remove reference to the unit that is being scaled (thrust) because electric motors will probably be scaled based on torque
… as options input to motor mission and premission. updated tests to set aviary_values and motor file location before running tests
…ly started with "Using External Subsystems".
… option error on test_turboprop_model test 4
Got some tests passsing for new motor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Motor Map Improvements

2 participants