gtopt::DemandAttrs struct

Technical and economic attributes shared by demand objects.

Used as a lightweight value type when parsing demand-attribute updates separately from the demand 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 demand is connected.
OptTRealFieldSched capacity
Installed demand capacity [MW].
OptTRealFieldSched capmax
Absolute maximum capacity after expansion [MW].
OptTRealFieldSched ecost
Energy-shortage cost [$/MWh].
OptTRealFieldSched emin
Minimum energy that must be served per stage [MWh].
OptTRealFieldSched expcap
Capacity added per expansion module [MW].
OptTRealFieldSched expmod
Maximum number of expansion modules [dimensionless].
OptTRealFieldSched fcost
Demand curtailment cost [$/MWh].
OptTBRealFieldSched lmax
Maximum served load [MW].
OptTRealFieldSched lossfactor
Network loss factor [p.u.].