CapabilityRows struct
#include <gtopt/gas_physics.hpp>
Concave piecewise-linear fuel-gas pressure capability of a gas turbine:
- hard stop:
cap = 0at(p_min − band)²rising toout_min · pmaxatp_min²; - derate (
p_nom > p_min): line from(p_min², out_min pmax)to(p_nom², pmax);out_mindefaults top_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