generator_profile.hpp file
Generator profile configuration and attributes.
Defines the GeneratorProfile structure which provides a time-varying capacity-factor profile for a generator. The actual available capacity in each block is capacity × profile, enabling renewable (solar, wind) and hydro run-of-river generation modeling.
JSON Example — inline 24-hour solar profile
{ "uid": 1, "name": "g3_solar", "generator": "g3", "profile": [0,0,0,0,0,0.1,0.4,0.7,0.9,1,1,0.95,0.9,0.85,0.8,0.6,0.3,0.1,0,0,0,0,0,0] }
Fields that accept a number/array/string value can hold:
- A scalar constant (applies uniformly to all blocks)
- A 3-D inline array indexed by
[scenario][stage][block] - A filename string referencing a Parquet/CSV schedule in
input_directory/GeneratorProfile/
Namespaces
- namespace gtopt
Classes
- struct gtopt::GeneratorProfile
- Time-varying capacity-factor profile for a generator.