gtopt::Converter struct

Couples a battery to a generator (discharge) and a demand (charge)

A converter links:

  • A Battery as the energy source/sink
  • A Generator for the discharge (generation) path
  • A Demand for the charge (load) path

The conversion_rate scales the electrical output (MW) relative to the rate at which stored energy (MWh/h) is withdrawn from the battery.

Public variables

OptActive active
Activation status (default: active)
OptTRealFieldSched annual_capcost
Annualized investment cost [$/MW-year].
OptTRealFieldSched annual_derating
Annual capacity derating factor [p.u./year].
SingleId battery
ID of the linked battery.
OptTRealFieldSched capacity
Installed power capacity [MW].
OptTRealFieldSched capmax
Absolute maximum power capacity [MW].
OptTRealFieldSched conversion_rate
SingleId demand
ID of the charge demand.
OptTRealFieldSched expcap
Power capacity per expansion module [MW].
OptTRealFieldSched expmod
Maximum number of expansion modules [dimensionless].
SingleId generator
ID of the discharge generator.
Name name
Human-readable name.
Uid uid
Unique identifier.

Variable documentation

OptTRealFieldSched gtopt::Converter::conversion_rate

Electrical output per unit stored energy withdrawn [dimensionless] (ratio of generator_output [MW] to battery_discharge_rate [MW-equivalent]); simplifies to dimensionless since MW/(MWh/h) = 1; default = 1.0