diff --git a/src/devices_models/devices/common/add_to_expression.jl b/src/devices_models/devices/common/add_to_expression.jl index 1a1ea800ec..66c051a556 100644 --- a/src/devices_models/devices/common/add_to_expression.jl +++ b/src/devices_models/devices/common/add_to_expression.jl @@ -212,7 +212,7 @@ function add_to_expression!( U <: FlowActivePowerToFromVariable, V <: TwoTerminalHVDCTypes, W <: AbstractDeviceFormulation, - X <: StandardPTDFModel + X <: StandardPTDFModel, } var = get_variable(container, U(), V) nodal_expr = get_expression(container, T(), PSY.ACBus) @@ -248,7 +248,7 @@ function add_to_expression!( U <: FlowActivePowerFromToVariable, V <: TwoTerminalHVDCTypes, W <: AbstractTwoTerminalDCLineFormulation, - X <: StandardPTDFModel + X <: StandardPTDFModel, } var = get_variable(container, U(), V) nodal_expr = get_expression(container, T(), PSY.ACBus) @@ -579,7 +579,7 @@ function add_to_expression!( U <: TimeSeriesParameter, V <: PSY.StaticInjection, W <: AbstractDeviceFormulation, - X <: StandardPTDFModel + X <: StandardPTDFModel, } param_container = get_parameter(container, U(), V) multiplier = get_multiplier_array(param_container) @@ -613,7 +613,7 @@ function add_to_expression!( U <: OnStatusParameter, V <: PSY.ThermalGen, W <: AbstractDeviceFormulation, - X <: StandardPTDFModel + X <: StandardPTDFModel, } parameter = get_parameter_array(container, U(), V) sys_expr = get_expression(container, T(), PSY.System) @@ -647,7 +647,7 @@ function add_to_expression!( U <: VariableType, V <: PSY.StaticInjection, W <: AbstractDeviceFormulation, - X <: StandardPTDFModel + X <: StandardPTDFModel, } variable = get_variable(container, U(), V) sys_expr = get_expression(container, T(), PSY.System) @@ -686,7 +686,7 @@ function add_to_expression!( U <: OnVariable, V <: PSY.ThermalGen, W <: Union{AbstractCompactUnitCommitment, ThermalCompactDispatch}, - X <: StandardPTDFModel + X <: StandardPTDFModel, } variable = get_variable(container, U(), V) sys_expr = get_expression(container, T(), PSY.System) diff --git a/src/network_models/network_constructor.jl b/src/network_models/network_constructor.jl index 1bd4edb6e7..3763eac317 100644 --- a/src/network_models/network_constructor.jl +++ b/src/network_models/network_constructor.jl @@ -166,7 +166,7 @@ function construct_network!( container::OptimizationContainer, sys::PSY.System, model::NetworkModel{T}, - template::ProblemTemplate + template::ProblemTemplate, ) where {T <: PM.AbstractBFModel} if T in UNSUPPORTED_POWERMODELS throw(