generator.py

class openconcept.propulsion.generator.SimpleGenerator(**kwargs)

Bases: ExplicitComponent

A simple generator which transforms shaft power into electrical power.

Inputs:
  • shaft_power_in (float) – Shaft power in to the generator (vector, W)

  • elec_power_rating (float) – Electric (not mech) design power (scalar, W)

Outputs:
  • elec_power_out (float) – Electric power produced by the generator (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