gas_turbine.hpp file
Gas-fired generator ↔ GasNode link (fuel + pressure gate).
A GasTurbine couples an existing Generator to its fuel-gas delivery GasNode — the gas analogue of the hydro Turbine:
- fuel:
heat_rate · P[km³/h] is withdrawn from the node balance (heat_rate in km³/MWh, 0.200 ≈ 7.06 MMBtu/MWh); - pressure gate (
min_pressureset):P ≤ s π + cconcave capability rows — a steep ramp from 0 at(min_pressure − pressure_band)²to the full (or derated) output atmin_pressure²; withnominal_pressure > min_pressurea derate line fromderate_min_output · pmaxatmin_pressureup topmaxatnominal_pressure. The negative intercept keepsπ ≥ (min_pressure − pressure_band)²even whenP = 0(an LP cannot express "off below the band"; that needs a binary).
pmax is the generator's pmax (or capacity) in each block.
JSON example
{"uid": 1, "name": "G_R_gas", "generator": "G_R", "gas_node": "R", "heat_rate": 0.2, "min_pressure": 30, "pressure_band": 0.5}
Namespaces
- namespace gtopt
Classes
- struct gtopt::GasTurbine
- Generator fuel-gas link with heat rate and pressure gate.