Allow Diversion on Reservoir
To do:
- Detect the nature of the node (GR/Lag or Reservoir)
- Apply the withdrawal to Vres instead of Qsim
Qobs
of Create InputsModel
is used to take into account both diverted flows and reservoir release flows and both nodes use the same identifier. This implies to add a Qrelease
argument to CreateInputsModel
in order to properly take into account released and diverted flows at the same location.
I propose to add such argument and allow to use Qobs for Qrelease when there are no ambiguity on the reservoir node but with a deprecated warning.