GasNode struct
#include <gtopt/gas_node.hpp>
Gas-network node with a squared-pressure column and a balance row.
Public static variables
- static LPClassName class_name
- Canonical class name (LP labels, outputs, PAMPL
gas_node).
Public variables
- OptActive active
- Activation status (default: active).
- OptReal elevation
- Name name
- Human-readable name.
- OptReal p_init
- OptTRealFieldSched pmax
- Maximum pressure [bar abs] per stage. Unset = unbounded π.
- OptTRealFieldSched pmin
- Minimum pressure [bar abs] per stage. Default 0.
- OptTRealFieldSched pressure_cost
- OptName type
- Optional tag ("city_gate", "plant", "junction", …).
- Uid uid
- Unique identifier.
Variable documentation
OptTRealFieldSched gtopt:: GasNode:: pressure_cost
Objective coefficient of π [$ / (bar² h)]. Negative = reward (pressure tie-break). Default 0.