Skip to content

Commit

Permalink
Print flows subnetwork 7
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Apr 23, 2024
1 parent 16be21d commit c7cc4c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/src/allocation_optim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,15 @@ function allocate_priority!(
)
end

if allocation_model.subnetwork_id == 7
F = problem[:F]
@show optimization_type
@show priority_idx
for i in only(F.axes)
@show JuMP.value.(F)
end
end

# Assign the allocations to the UserDemand for this priority
assign_allocations!(allocation_model, p, priority_idx, optimization_type)

Expand Down

0 comments on commit c7cc4c6

Please sign in to comment.