Skip to content

Commit

Permalink
fix component bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha authored and jd-lara committed Nov 29, 2024
1 parent 40ce34a commit 23e9137
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ function _add_vom_cost_to_objective!(
)
for t in get_time_steps(container)
exp =
_add_proportional_term!(container, T(), d, cost_term_normalized * multiplier, t)
add_to_expression!(container, ProductionCostExpression, exp, d, t)
_add_proportional_term!(container, T(), component, cost_term_normalized * multiplier, t)
add_to_expression!(container, ProductionCostExpression, exp, component, t)
end
return
end
Expand Down

0 comments on commit 23e9137

Please sign in to comment.