gtopt::GasDemand struct

Gas load (sink) with optional priced shedding.

Public static variables

static LPClassName class_name
Canonical class name (LP labels, outputs, PAMPL gas_demand).

Public variables

OptActive active
Activation status (default: active).
OptTRealFieldSched fail_cost
Shedding cost [$ / km³] per stage. Unset = hard load (no shedding).
SingleId gas_node
The GasNode the load withdraws from (uid or name).
OptTBRealFieldSched load
Gas load [km³/h] per (stage, block). Default 0.
Name name
Human-readable name.
OptName type
Optional tag ("residential", "industrial", …).
Uid uid
Unique identifier.