ucd-cws / calvin-network-tools

Command line tools for calvin-network-data and calvin-network-app. Includes prm tool for export PRI and DSS files
MIT License
3 stars 5 forks source link

Boundary conditions not set on subset export #56

Closed nickrsan closed 4 years ago

nickrsan commented 4 years ago

Via @msdogan: The second issue was solved before but is happening again. Calvin-network-tools has a capability that you can export a small subset with defined nodes. But in this case boundary conditions must be included in the exported matrix. This boundary conditions are from a previously feasible run stored in 'flow.csv' files. When we create a small subsets, boundary conditions are added as fixed flows meaning lower and upper bounds of links are set to the same value. But the current version fails to do that, while it was working before. This was solved in this GitHub issue #49 . It would be great if you could take a look and see what Justin changed at that time using GitHub history. If that does not work, we can look for other ways to add that capability again.

nickrsan commented 4 years ago

Actually, going to change the structure of this and track it over at a UCM fork (https://github.com/Water-Systems-Management-UCM/calvin-network-tools/issues/1). Closing for now.