TwoPartCost
PowerSystems.TwoPartCost
— Typemutable struct TwoPartCost <: OperationalCost
variable::VariableCost
fixed::Float64
end
Data Structure Operational Cost Data in two parts: fixed and variable cost.
Arguments
variable::VariableCost
: variable costfixed::Float64
: fixed cost, validation range:(0, nothing)
, action if invalid:warn
PowerSystems.get_fixed
— Methodget_fixed(value::TwoPartCost) -> Float64
Get TwoPartCost
fixed
.
PowerSystems.get_variable
— Methodget_variable(value::TwoPartCost) -> VariableCost
Get TwoPartCost
variable
.
PowerSystems.set_fixed!
— Methodset_fixed!(value::TwoPartCost, val::Any) -> Any
Set TwoPartCost
fixed
.
PowerSystems.set_variable!
— Methodset_variable!(value::TwoPartCost, val::Any) -> Any
Set TwoPartCost
variable
.