gtopt::gas::CapabilityRows struct

Concave piecewise-linear fuel-gas pressure capability of a gas turbine:

  • hard stop: cap = 0 at (p_min − band)² rising to out_min · pmax at p_min²;
  • derate (p_nom > p_min): line from (p_min², out_min pmax) to (p_nom², pmax); out_min defaults to p_min / p_nom.

Without derate (p_nom ≤ p_min) out_min = 1 and a single row is returned. A derate row steeper than the hard-stop ramp is dropped (not concave); derate_dropped reports it.

Public variables

bool derate_dropped
std::vector<CapabilityRow> rows