Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 19, 2023
1 parent ce88b23 commit 73ef3b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/devices_models/devices/TwoTerminalDC_branches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,11 @@ function add_constraints!(
::DeviceModel{U, HVDCTwoTerminalDispatch},
::NetworkModel{<:PM.AbstractDCPModel},
) where {T <: Union{FlowRateConstraintToFrom, FlowRateConstraintFromTo},
U <: PSY.TwoTerminalHVDCLine}
U <: PSY.TwoTerminalHVDCLine}
_add_hvdc_flow_constraints!(container, devices, T())
return
end


function add_constraints!(
container::OptimizationContainer,
::Type{T},
Expand Down

0 comments on commit 73ef3b7

Please sign in to comment.