diff --git a/src/devices_models/devices/AC_branches.jl b/src/devices_models/devices/AC_branches.jl index 2125a69cd9..12fa4c9539 100644 --- a/src/devices_models/devices/AC_branches.jl +++ b/src/devices_models/devices/AC_branches.jl @@ -485,7 +485,7 @@ function _make_flow_expressions!( t1_ = time() jump_model = get_jump_model(container) - #= + tasks = map(branches) do name ptdf_col = ptdf[name, :] Threads.@spawn _make_flow_expressions!( @@ -500,8 +500,9 @@ function _make_flow_expressions!( name, expressions = fetch(task) branch_flow_expr[name, :] .= expressions end - =# + + #= Leaving serial code commented out for debugging purposes in the future for name in branches ptdf_col = ptdf[name, :] branch_flow_expr[name, :] .= _make_flow_expressions!( @@ -512,6 +513,7 @@ function _make_flow_expressions!( nodal_balance_expressions.data, ) end + =# t2_ = time() @error "time to build PTDF expressions $branch_Type $(t2_ - t1_)"