gtopt::GasSupply struct

Gas source injecting into a GasNode.

Public static variables

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

Public variables

OptActive active
Activation status (default: active).
OptTRealFieldSched cost
Gas cost [$ / km³] per stage. Default 0.
OptTBRealFieldSched fmax
Maximum injection [km³/h] per (stage, block). Unset = unbounded.
OptTBRealFieldSched fmin
Minimum injection [km³/h] per (stage, block). Default 0.
SingleId gas_node
The GasNode the supply injects into (uid or name).
Name name
Human-readable name.
OptName type
"field", "pipeline_import", "lng_regas", …
Uid uid
Unique identifier.
OptReal volume

Variable documentation

OptReal gtopt::GasSupply::volume

Volume available over each stage [flow unit · h], e.g. an LNG or pipeline-gas allotment: Σ_b Δt_b f_b ≤ volume (fmax stays the rate cap). Unset = no volume limit.