Skip to content

Commit

Permalink
Use getter function
Browse files Browse the repository at this point in the history
Co-authored-by: Jose Daniel Lara <[email protected]>
  • Loading branch information
daniel-thom and jd-lara authored Sep 21, 2023
1 parent a44fa02 commit e7b38ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function construct_device!(
)
devices = get_available_components(PSY.InterconnectingConverter, sys)
add_feedforward_constraints!(container, model, devices)
objective_function!(container, devices, model, typeof(network_model).parameters[1])
objective_function!(container, devices, model, get_network_formulation(network_model))
add_constraint_dual!(container, sys, model)
return
end
Expand Down

0 comments on commit e7b38ae

Please sign in to comment.