hydrogen_demand.hpp file
Hydrogen offtake (sink) at a HydrogenNode.
HydrogenDemand withdraws hydrogen (MWh_LHV) from a HydrogenNode. It closes the hydrogen-economy topology
Bus → electrolyser (CarrierConverter, η) → HydrogenNode → HydrogenDemand
which previously had no sink: without it the node balance forces every electrolyser to zero unless a HydrogenStorage absorbs the production.
Two complementary ways to state the demand:
- a per-block offtake rate window
[lmin, lmax](MW_LHV), e.g. a fixed industrial offtake profile (lmin = lmax); - a per-stage energy requirement
[min_energy, max_energy](MWh_LHV per stage) onΣ_b dur_b · load_b. This is the "production target over a period" used by capacity-outlook models (AEMO ISP: weekly / monthly H₂ targets met by flexible electrolysers): the offtake can happen in any block of the stage, i.e. intra-stage hydrogen storage is assumed free and unlimited.min_energy_costmakes the minimum soft (shortfall slack priced per MWh_LHV); unset = hard.
An optional price [$ / MWh_LHV] values the offtake (objective −price · dur · load), giving a price-responsive hydrogen buyer.
The dual of the stage energy row is the marginal cost of hydrogen for the stage [$ / MWh_LHV]; the node balance duals give the per-block hydrogen price.
JSON example
{"uid": 1, "name": "h2_cq", "hydrogen_node": "h2_cq", "min_energy": 1919.7, "max_energy": 1919.7}
Namespaces
- namespace gtopt
Classes
- struct gtopt::HydrogenDemand
- Hydrogen offtake at a HydrogenNode with an optional per-stage energy requirement.