gtopt::GeneratorAttrs struct

Core technical and economic attributes shared by generator objects.

Used as a lightweight value type when parsing generator-attribute updates separately from the generator identity fields.

Public variables

OptTRealFieldSched annual_capcost
Annualized investment cost [$/MW-year].
OptTRealFieldSched annual_derating
Annual capacity derating factor [p.u./year].
SingleId bus
Bus ID where the generator is connected.
OptTRealFieldSched capacity
Installed generation capacity [MW].
OptTRealFieldSched capmax
Absolute maximum capacity after expansion [MW].
OptTRealFieldSched expcap
Capacity added per expansion module [MW].
OptTRealFieldSched expmod
Maximum number of expansion modules [dimensionless].
OptTRealFieldSched gcost
Variable generation cost [$/MWh].
OptTRealFieldSched lossfactor
Network loss factor [p.u.].
OptTBRealFieldSched pmax
Maximum active power output [MW].
OptTBRealFieldSched pmin
Minimum active power output [MW].