gtopt::FailSegment struct

One segment of a stepwise demand-failure (VoLL) curve.

Public functions

auto operator==(const FailSegment&) const -> bool defaulted

Public variables

OptTRealFieldSched cost
OptReal fraction

Variable documentation

OptTRealFieldSched gtopt::FailSegment::cost

Curtailment cost of this segment [$/MWh]. On Demand.fail_segments it is a per-stage schedule (scalar, per-stage array, or file).

OptReal gtopt::FailSegment::fraction

Fraction of the block demand lmax covered by this segment (0 < fraction ≤ 1). Unset only on the last segment = open (covers the residual 1 − Σ of the previous fractions).