Deltares / Ribasim

Water resources modeling
https://deltares.github.io/Ribasim/
MIT License
36 stars 5 forks source link

For `UserDemand`, first use the available capacity in the directly connected basin #1545

Open SouthEndMusic opened 2 weeks ago

SouthEndMusic commented 2 weeks ago

We have an ongoing discussion about the default behavior of basins within a subnetwork. One of the relatively simple things to implement is that UserDemand nodes always first get flow allocated from the basin they are abstracting from (also when this basin doesn't have a level demand). This can happen outside and before the actual JuMP optimization. Then there is still the question of to which level te basin can be drained by the user. This is already regulated by the min_level of the UserDemand, but we have to consider whether a LevelDemand node connected to this basin also affects this.