StorageCost
PowerSystems.StorageCost
— Typemutable struct StorageCost <: OperationalCost
charge_variable_cost::CostCurve
: (default of 0) Variable cost of charging represented as aCostCurve
discharge_variable_cost::CostCurve
: (default of 0) Variable cost of discharging represented as aCostCurve
fixed::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
Get StorageCost
charge_variable_cost
.
PowerSystems.get_discharge_variable_cost
— Methodget_discharge_variable_cost(value::StorageCost) -> CostCurve
Get StorageCost
discharge_variable_cost
.
PowerSystems.get_energy_shortage_cost
— Methodget_energy_shortage_cost(value::StorageCost) -> Float64
Get StorageCost
energy_shortage_cost
.
PowerSystems.get_energy_surplus_cost
— Methodget_energy_surplus_cost(value::StorageCost) -> Float64
Get StorageCost
energy_surplus_cost
.
PowerSystems.get_fixed
— Methodget_fixed(value::StorageCost) -> Float64
Get StorageCost
fixed
.
PowerSystems.get_shut_down
— Methodget_shut_down(value::StorageCost) -> Float64
Get StorageCost
shut_down
.
PowerSystems.get_start_up
— Methodget_start_up(
value::StorageCost
) -> Union{Float64, @NamedTuple{charge::Float64, discharge::Float64}}
Get StorageCost
start_up
.
PowerSystems.set_charge_variable_cost!
— Methodset_charge_variable_cost!(value::StorageCost, val) -> Any
Set StorageCost
charge_variable_cost
.
PowerSystems.set_discharge_variable_cost!
— Methodset_discharge_variable_cost!(value::StorageCost, val) -> Any
Set StorageCost
discharge_variable_cost
.
PowerSystems.set_energy_shortage_cost!
— Methodset_energy_shortage_cost!(value::StorageCost, val) -> Any
Set StorageCost
energy_shortage_cost
.
PowerSystems.set_energy_surplus_cost!
— Methodset_energy_surplus_cost!(value::StorageCost, val) -> Any
Set StorageCost
energy_surplus_cost
.
PowerSystems.set_fixed!
— Methodset_fixed!(value::StorageCost, val) -> Any
Set StorageCost
fixed
.
PowerSystems.set_shut_down!
— Methodset_shut_down!(value::StorageCost, val) -> Any
Set StorageCost
shut_down
.
PowerSystems.set_start_up!
— Methodset_start_up!(value::StorageCost, val) -> Any
Set StorageCost
start_up
.