gtopt/gas_demand.hpp file

Exogenous gas load at a GasNode with priced shedding.

A GasDemand withdraws load [km³/h] from a GasNode (it enters the node balance right-hand side). With fail_cost set, a shedding column fail ∈ [0, load] priced at fail_cost [$ / km³] relaxes it; without fail_cost the load is hard.

JSON example

{"uid": 1, "name": "CITY", "gas_node": "T", "load": 60,
 "fail_cost": 3000}

Namespaces

namespace gtopt

Classes

struct gtopt::GasDemand
Gas load (sink) with optional priced shedding.