gtopt::ReservoirProductionFactor struct

Reservoir-dependent turbine efficiency (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 variables

OptActive active
Activation status (default: active)
Real mean_production_factor
Fallback / average efficiency value.
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.