PowerBasedUnit struct
#include <gtopt/commitment_power_based.hpp>
Inputs of one unit on one (scenario, stage): blocks b = 0..B−1 (block b ends at boundary b+1) and commitment periods k = 0..K−1.
Public variables
- std::vector<BlockUid> buid
- block uids (row / column contexts)
- std::string_view class_name
- bool cyclic
- boundary 0 ≡ boundary B, events wrap
- std::vector<double> dt
- real duration Δ_b [h]
- std::vector<ColIndex> gcol
- generation (block-average power) column
- bool has_ramp_down
- bool has_ramp_up
- std::optional<double> initial_power
- known P̂_0 [MW]
- double initial_u
- u before the stage (non-cyclic)
- std::vector<std::size_t> period
- commitment period k(b)
- std::vector<double> period_start
- T_k [h] from the stage start.
- std::vector<double> pmax
- P̄_b [MW].
- std::vector<double> pmin
- committed minimum P_b [MW]
- std::vector<double> ramp_down
- RD_b [MW/h], used when has_ramp_down.
- std::vector<double> ramp_up
- RU_b [MW/h], used when has_ramp_up.
- std::vector<std::vector<ColIndex>> reserve_dn
- r⁻ columns of block b
- std::vector<std::vector<ColIndex>> reserve_up
- r⁺ columns of block b
- ScenarioUid scenario_uid
- std::vector<double> shutdown_cap
- SD_b [MW].
- std::vector<double> shutdown_trajectory
- [P^SD_2 .. P^SD_{S+1}]
- StageUid stage_uid
- std::vector<double> startup_cap
- SU_b [MW] (start-up capability).
- std::vector<double> startup_trajectory
- [P^SU_1 .. P^SU_S]
- double trajectory_step
- sample spacing h [h]
- std::vector<ColIndex> ucol
- Uid uid
- std::vector<ColIndex> vcol
- std::vector<ColIndex> wcol