Skip to content

Commit

Permalink
change getters
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed May 2, 2024
1 parent f805903 commit c49d605
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/models/cost_functions/StorageCost.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ function StorageCost(::Nothing)
StorageCost()
end

"""Get [`StorageCost`](@ref) `variable`."""
get_variable(value::StorageCost) = value.variable
"""Get [`StorageCost`](@ref) `charge_variable_cost`."""
get_charge_variable_cost(value::StorageCost) = value.charge_variable_cost
"""Get [`StorageCost`](@ref) `charge_variable_cost`."""
get_discharge_variable_cost(value::StorageCost) = value.charge_variable_cost
"""Get [`StorageCost`](@ref) `fixed`."""
get_fixed(value::StorageCost) = value.fixed
"""Get [`StorageCost`](@ref) `start_up`."""
Expand Down

0 comments on commit c49d605

Please sign in to comment.