Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Oct 13, 2024
1 parent e47f4e6 commit 2125117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services_models/services_constructor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ function construct_service!(
network_model::NetworkModel{<:PM.AbstractPowerModel},
) where {T <: PSY.TransmissionInterface}
interfaces = get_available_components(model, sys)
interface = PSY.get_component(T, sys, get_service_name(model))
if get_use_slacks(model)
# Adding the slacks can be done in a cleaner fashion
interface = PSY.get_component(T, sys, get_service_name(model))
@assert PSY.get_available(interface)
transmission_interface_slacks!(container, interface)
end
Expand All @@ -548,7 +548,7 @@ function construct_service!(
PSY.get_name.(interfaces),
get_time_steps(container),
)
add_feedforward_arguments!(container, model, service)
add_feedforward_arguments!(container, model, interface)
return
end

Expand Down

0 comments on commit 2125117

Please sign in to comment.