fail_segment.hpp file
Stepwise value-of-lost-load (VoLL) curve segment for Demand.
A demand-failure curve is an ordered list of segments {fraction, cost}: segment k covers fraction_k × lmax MW of curtailment priced at cost_k $/MWh. The last segment may leave fraction unset ("open"): it then covers the residual 1 − Σ_{j<K} fraction_j. When every fraction is given and they sum to less than 1, the uncovered remainder is firm load (it cannot be curtailed) — the PLP FALLA_* semantics, where the four failure units are capped at 5/5/10/80 % of the bus demand.
Typical sources: PLP FALLA_<bus>_1..4, SDDP deficit_segments, CNE Chile CFLD (0–5/5–10/10–20/>20 %), CRIE Guatemala (4 tiers), PLEXOS VoLL + Internal VoLL/Level (2 bands).
JSON Example
"fail_segments": [ {"fraction": 0.05, "cost": 492.4}, {"fraction": 0.05, "cost": 541.7}, {"fraction": 0.10, "cost": 648.6}, {"cost": 742.1} ]
Namespaces
- namespace gtopt
Classes
- struct gtopt::FailSegment
- One segment of a stepwise demand-failure (VoLL) curve.
- struct gtopt::FailSegmentWidths
- struct gtopt::ScalarFailSegment