demand_profile.hpp file
Demand profile configuration and attributes.
Defines the DemandProfile structure which provides a time-varying scaling profile for a demand element. The actual maximum served load in each block is lmax × profile, enabling typical daily/seasonal demand shapes.
JSON Example — inline 24-hour load profile
{ "uid": 1, "name": "d1_daily", "demand": "d1", "profile": [0.6,0.58,0.57,0.56,0.57,0.6,0.7,0.85,0.95,0.98,1.0,0.99, 0.97,0.96,0.97,0.99,1.0,0.98,0.95,0.9,0.85,0.78,0.72,0.65] }
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/DemandProfile/
Namespaces
- namespace gtopt
Classes
- struct gtopt::DemandProfile
- Time-varying load-shape profile for a demand element.