lanl-ansi / WaterModels.jl

A Julia/JuMP Package for Water Distribution Network Optimization
https://lanl-ansi.github.io/WaterModels.jl/latest/
Other
70 stars 11 forks source link

initial code for finding source pumps #120

Closed dsigler1234 closed 2 years ago

dsigler1234 commented 3 years ago

I branched off the flow_cuts branch and added some code that can be used to compute a set of source pumps in /src/utils/compute_source_pumps.jl. I included an example of using this code on the Van zyl network in examples/code/source_pumps_test.jl so you can try it out.

tasseff commented 2 years ago

I am migrating this functionality to WaterModelsAnnex (see, e.g., https://github.com/lanl-ansi/WaterModelsAnnex.jl/blob/tasseff-2021b/src/alg/compute_source_pumps.jl).