gtopt::ReservoirProductionFactor struct

Reservoir-dependent turbine production factor (PLP "rendimiento").

Associates a turbine with a reservoir and provides a piecewise-linear concave function mapping reservoir volume to turbine conversion rate. When used with the SDDP solver, the conversion-rate LP coefficient is updated at each forward-pass iteration based on the average reservoir volume vavg = (vini + vfin) / 2 from the previous LP solve.

Public static variables

static LPClassName class_name

Public variables

OptActive active
Activation status (default: active).
Real mean_production_factor
Fallback / average production factor.
Name name
Human-readable name.
SingleId reservoir
ID of the related reservoir.
std::vector<ProductionFactorSegment> segments
Piecewise-linear segments (slopes in decreasing order).
SingleId turbine
ID of the related turbine.
Uid uid
Unique identifier.

Variable documentation

static LPClassName gtopt::ReservoirProductionFactor::class_name

Canonical class-name constant used in LP row labels and config fields like VariableScale::class_name. Single source of truth — ReservoirProductionFactorLP exposes no separate ClassName member; callers reach the constant via ReservoirProductionFactor::class_name directly (or ReservoirProductionFactorLP::Element::class_name in generic contexts).