gtopt::ScalarFailSegment struct

Segment of the global default curve (model_options.demand_fail_segments): same shape as FailSegment but the cost is a plain scalar (options are schedule-free).

Public functions

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

Public variables

OptReal cost
Curtailment cost [$/MWh].
OptReal fraction
See FailSegment::fraction.