Calibration: Diversion is not handled on upstream nodes
The diversion is not taken into account during calibration at least on upstream nodes.
On this small example below, if we define a huge Diversion flow in the node "54095" in order to derive the totality of the flow, the node should not be able to be calibrated because the resulting flow Qsim
at the node "54095" should be zero.
graph LR
id_54001[54001]
id_54095[54095]
id_54095[54095]
id_54095 -->| 42 km| id_54001
class id_54001 IntermediateGauged
class id_54095,id_54095 UpstreamGaugedDiversion
classDef default stroke:#333
classDef UpstreamUngauged fill:#eef
classDef UpstreamGauged fill:#aaf
classDef IntermediateUngauged fill:#efe
classDef IntermediateGauged fill:#afa
classDef DirectInjection fill:#faa
classDef Reservoir fill:#9de
classDef UpstreamUngaugedDiversion fill:#eef, stroke:#faa, stroke-width:3px
classDef UpstreamGaugedDiversion fill:#aaf, stroke:#faa, stroke-width:3px
classDef IntermediateUngaugedDiversion fill:#efe, stroke:#faa, stroke-width:3px
classDef IntermediateGaugedDiversion fill:#afa, stroke:#faa, stroke-width:3px
linkStyle 0 stroke:#faa, stroke-width:2px,stroke-dasharray: 5 5;