From 73ef3b7b9b8b7e0725b5c691af14f4e45a8cb99d Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Mon, 18 Sep 2023 18:16:49 -0600 Subject: [PATCH] formatter --- src/devices_models/devices/TwoTerminalDC_branches.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devices_models/devices/TwoTerminalDC_branches.jl b/src/devices_models/devices/TwoTerminalDC_branches.jl index c99de67bd0..dc249b3712 100644 --- a/src/devices_models/devices/TwoTerminalDC_branches.jl +++ b/src/devices_models/devices/TwoTerminalDC_branches.jl @@ -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},