Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Dec 12, 2024
1 parent c3c27c2 commit d8bdcc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ function _add_variable_cost_to_objective!(
initial_time = get_initial_time(container)
incremental_cost_curves = PSY.get_incremental_offer_curves(cost_function)
decremental_cost_curves = PSY.get_decremental_offer_curves(cost_function)
if isnothing(decremental_cost_curves)
if !isnothing(decremental_cost_curves)
error("Component $(component_name) is not allowed to participate as a demand.")
end
#=
Expand Down

0 comments on commit d8bdcc7

Please sign in to comment.