LoadCost
PowerSystems.LoadCost
— Typemutable struct LoadCost <: OperationalCost
variable::CostCurve
: Variable cost represented as aCostCurve
fixed::Float64
: (default: 0) Fixed cost. For some cost represenations this field can be duplicative
LoadCost(variable, fixed)
LoadCost(; variable, fixed)
An operational cost for controllable loads (e.g., InterruptiblePowerLoad), including fixed and variable cost components.
The variable
cost is a required parameter, but zero(CostCurve)
can be used to set it to 0.
PowerSystems.get_fixed
— Methodget_fixed(value::LoadCost) -> Float64
Get LoadCost
fixed
.
PowerSystems.get_variable
— Methodget_variable(value::LoadCost) -> CostCurve
Get LoadCost
variable
.
PowerSystems.set_fixed!
— Methodset_fixed!(value::LoadCost, val) -> Any
Set LoadCost
fixed
.
PowerSystems.set_variable!
— Methodset_variable!(value::LoadCost, val) -> Any
Set LoadCost
variable
.