PeakInjectionInfo struct
#include <gtopt/domain_rules.hpp>
One storage / hydro injection unit's status (u) columns in chronological order, with a parallel flag marking which blocks the rule should seed ON. The domain input the PeakInjectionRule needs — built by the SystemLP::resolve hook (one entry per storage-injection commitment: the u of a reservoir-fed hydro generator or a battery-discharge converter, both reachable through CommitmentLP::find_status_cols). The hook picks the seed window PER UNIT CLASS: hydro → the evening peak window; battery → the solar charge window plus the evening discharge window (one daily cycle). Only chronological stages carry commitment columns, so status_cols is naturally restricted to where a wall-clock hour-of-day is meaningful. status_cols[t] is a RAW column index; is_peak[t] != 0 marks block t as a seed-ON block (parallel arrays).
Public variables
- std::vector<char> is_peak
- std::vector<int> status_cols