Skip to content

Commit

Permalink
add devices in the correct spot
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jul 29, 2024
1 parent bd97b54 commit 3581adc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function construct_device!(
NetworkModel{AreaBalancePowerModel},
},
) where {T <: PSY.ACBranch}
devices = get_available_components(model, sys)
if has_subnetworks(network_model)
devices = get_available_components(model, sys)

if get_use_slacks(model)
add_variables!(
Expand Down

0 comments on commit 3581adc

Please sign in to comment.