StorageCost
PowerSystems.StorageCost — Typemutable struct StorageCost <: OperationalCostcharge_variable_cost::CostCurve: (default of 0) Variable cost of charging represented as aCostCurvedischarge_variable_cost::CostCurve: (default of 0) Variable cost of discharging represented as aCostCurvefixed::Float64: (default: 0) Fixed cost of operating the storage systemstart_up::Union{Float64, @NamedTuple{charge::Float64, discharge::Float64}}: (default: 0) Start-up costshut_down::Float64: (default: 0) Shut-down costenergy_shortage_cost::Float64: (default: 0) Cost incurred by the model for being short of the energy targetenergy_surplus_cost::Float64: (default: 0) Cost incurred by the model for surplus energy stored
StorageCost(charge_variable_cost, discharge_variable_cost, fixed, start_up, shut_down, energy_shortage_cost, energy_surplus_cost)
StorageCost(; charge_variable_cost, discharge_variable_cost, fixed, start_up, shut_down, energy_shortage_cost, energy_surplus_cost)An operational cost for storage units including fixed costs and variable costs to charge or discharge.
This data structure is not intended to represent market storage systems market operations like the submission of buy/sell bids – see MarketBidCost instead.
PowerSystems.get_charge_variable_cost — Methodget_charge_variable_cost(value::StorageCost) -> CostCurve
Return the charge_variable_cost field of StorageCost.
PowerSystems.get_discharge_variable_cost — Methodget_discharge_variable_cost(value::StorageCost) -> CostCurve
Return the discharge_variable_cost field of StorageCost.
PowerSystems.get_energy_shortage_cost — Methodget_energy_shortage_cost(value::StorageCost) -> Float64
Return the energy_shortage_cost field of StorageCost.
PowerSystems.get_energy_surplus_cost — Methodget_energy_surplus_cost(value::StorageCost) -> Float64
Return the energy_surplus_cost field of StorageCost.
PowerSystems.get_fixed — Methodget_fixed(value::StorageCost) -> Float64
Return the fixed field of StorageCost.
PowerSystems.get_shut_down — Methodget_shut_down(value::StorageCost) -> Float64
Return the shut_down field of StorageCost.
PowerSystems.get_start_up — Methodget_start_up(
value::StorageCost
) -> Union{Float64, @NamedTuple{charge::Float64, discharge::Float64}}
Return the start_up field of StorageCost.
PowerSystems.set_charge_variable_cost! — Methodset_charge_variable_cost!(value::StorageCost, val) -> Any
Set the charge_variable_cost field of StorageCost.
PowerSystems.set_discharge_variable_cost! — Methodset_discharge_variable_cost!(value::StorageCost, val) -> Any
Set the discharge_variable_cost field of StorageCost.
PowerSystems.set_energy_shortage_cost! — Methodset_energy_shortage_cost!(value::StorageCost, val) -> Any
Set the energy_shortage_cost field of StorageCost.
PowerSystems.set_energy_surplus_cost! — Methodset_energy_surplus_cost!(value::StorageCost, val) -> Any
Set the energy_surplus_cost field of StorageCost.
PowerSystems.set_fixed! — Methodset_fixed!(value::StorageCost, val) -> Any
Set the fixed field of StorageCost.
PowerSystems.set_shut_down! — Methodset_shut_down!(value::StorageCost, val) -> Any
Set the shut_down field of StorageCost.
PowerSystems.set_start_up! — Methodset_start_up!(value::StorageCost, val) -> Any
Set the start_up field of StorageCost.