GeneratorProfile struct
#include <gtopt/generator_profile.hpp>
Time-varying capacity-factor profile for a generator.
Multiplies the generator's maximum active power (pmax or capacity) by the profile value in each block. Useful for solar irradiance, wind speed, or hydro run-of-river availability.
Public static variables
- static LPClassName class_name
Public variables
- OptActive active
- Activation status (default: active).
- SingleId generator
- ID of the associated generator.
- Name name
- Human-readable name.
- STBRealFieldSched profile
- Capacity-factor profile [p.u. of installed capacity].
- OptTRealFieldSched scost
- Short-run generation cost override [$/MWh].
- Uid uid
- Unique identifier.
Variable documentation
static LPClassName gtopt:: GeneratorProfile:: class_name
Canonical class-name constant used in LP row labels and config fields like VariableScale::class_name. Single source of truth — GeneratorProfileLP exposes no separate ClassName member; callers reach the constant via GeneratorProfile::class_name directly (or GeneratorProfileLP::Element::class_name in generic contexts).