Skip to content

Commit

Permalink
update function names
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Apr 30, 2024
1 parent 6ede0db commit 9086f4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parameters/update_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ function _update_pwl_cost_expression(
::Type{T},
component_name::String,
time_period::Int,
cost_data::PSY.PiecewiseLinearPointData,
cost_data::PSY.PiecewiseLinearData,
) where {T <: PSY.Component}
pwl_var_container = get_variable(container, PieceWiseLinearCostVariable(), T)
resolution = get_resolution(container)
Expand Down Expand Up @@ -588,7 +588,7 @@ function update_variable_cost!(
T,
component_name,
time_period,
PSY.PiecewiseLinearPointData(cost_data),
PSY.PiecewiseLinearData(cost_data),
)
add_to_objective_variant_expression!(container, mult_ * gen_cost)
set_expression!(container, ProductionCostExpression, gen_cost, component, time_period)
Expand Down

0 comments on commit 9086f4b

Please sign in to comment.