gtopt/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_pressure set): P ≤ s π + c concave capability rows — a steep ramp from 0 at (min_pressure − pressure_band)² to the full (or derated) output at min_pressure²; with nominal_pressure > min_pressure a derate line from derate_min_output · pmax at min_pressure up to pmax at nominal_pressure. The negative intercept keeps π ≥ (min_pressure − pressure_band)² even when P = 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.