capacity_profile.hpp file
Generic time-varying availability profile (kind-tagged).
CapacityProfile is the unified data-struct that replaces the per-owner DemandProfile / GeneratorProfile pairs. A profile multiplies an owner's installed capacity by a per-(scenario, stage, block) factor and introduces a slack column (unserved for demand, spillover for generator) that absorbs the residual.
The owner is identified by the pair (owner_kind, owner). See gtopt/capacity_profile_traits.hpp for the per-kind dispatch (slack name, legacy class-name string, owner-side accessor).
JSON example
{ "uid": 1, "name": "g3_solar", "owner_kind": "generator", "owner": "g3", "profile": [0,0,0,0,0,0.1,0.4,0.7,0.9,1,...] }
Namespaces
- namespace gtopt
Classes
- struct gtopt::CapacityProfile
- Generic profile element (kind-tagged owner FK).