motor.py¶
-
class
openconcept.components.motor.SimpleMotor(**kwargs)[source]¶ Bases:
openmdao.core.explicitcomponent.ExplicitComponentA simple motor which creates shaft power and draws electrical load.
Inputs: - throttle (float) – Power control setting. Should be [0, 1]. (vector, dimensionless)
- elec_power_rating (float) – Electric (not mech) design power. (scalar, W)
Outputs: - shaft_power_out (float) – Shaft power output from motor (vector, W)
- elec_load (float) – Electrical load consumed by motor (vector, W)
- heat_out (float) – Waste heat produced (vector, W)
- component_cost (float) – Nonrecurring cost of the component (scalar, USD)
- component_weight (float) – Weight of the component (scalar, kg)
- component_sizing_margin (float) – Equal to 1 when producing full rated power (vector, dimensionless)
Options: - num_nodes (int) – Number of analysis points to run (sets vec length; default 1)
- efficiency (float) – Shaft power efficiency. Sensible range 0.0 to 1.0 (default 1)
- weight_inc (float) – Weight per unit rated power (default 1/5000, kg/W)
- weight_base (float) – Base weight (default 0, kg)
- cost_inc (float) – Cost per unit rated power (default 0.134228, USD/W)
- cost_base (float) – Base cost (default 1 USD) B