Skip to content

Commit

Permalink
add HVDC losses to DCP model
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Oct 2, 2024
1 parent 54d1d91 commit 1ab2484
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ function construct_device!(
HVDCTwoTerminalDispatch(),
)
add_variables!(container, HVDCFlowDirectionVariable, devices, HVDCTwoTerminalDispatch())
add_variables!(container, HVDCLosses, devices, HVDCTwoTerminalDispatch())
add_to_expression!(
container,
ActivePowerBalance,
Expand Down Expand Up @@ -893,7 +894,6 @@ function construct_device!(
add_constraints!(container, FlowRateConstraintFromTo, devices, model, network_model)
add_constraints!(container, FlowRateConstraintToFrom, devices, model, network_model)
add_constraints!(container, HVDCPowerBalance, devices, model, network_model)
add_constraints!(container, HVDCDirection, devices, model, network_model)
add_constraint_dual!(container, sys, model)
add_feedforward_constraints!(container, model, devices)
return
Expand Down

0 comments on commit 1ab2484

Please sign in to comment.