Download WEAP User Guide

Transcript
Calculation Algorithms
Q3 = 130
Q4 = 80
Q5 = 50
Q6 = 50
Q7 = 0
Q8 = 40
Q9 = 90
Add1 = -35
Add2 = -85
S1 = 15
S2 = 15
C1 = C2 = 1
C3 = C4 = 0.075
FC = 0.0751
E1 = E2 = 0
E3 = E4 = 0.0001
Note that now both Reservoir 1 and Reservoir 2 have the same storage (15).
Maximum Hydraulic Outflow
If the optional maximum hydraulic outflow (MHO) data value is set, WEAP will create extra
constraints to handle it. When there is no maximum hydraulic outflow constraint, WEAP will
never allow reservoir storage to exceed the top of conservation. However, if there is a maximum
hydraulic outflow constraint, it is possible for the reservoir storage to exceed the top of
conservation in timesteps where releases from the reservoir equal the maximum hydraulic
outflow.
There are three cases that must be handled:
1. The outflow is less than MHO (MHO constraint is in place, but is not binding),
2. The outflow is equal to MHO but the reservoir is not completely full (MHO constraint is
in place and is binding), or
3. The reservoir is completely full (storage = total storage) and could be overtopping with
no maximum flow constraint (MHO constraint is not in place, but the outflow is not
necessary greater than MHO).
To handle these non-linear constraints requires the use of two binary integer LP variables, Z1 and
Z2. (A binary integer variable must either be 0 or 1.)
Z1
{
= 0 if the MHO constraint is not binding (outflow < MHO or Storage = Total
Storage)
= 1 if the MHO constraint is binding (outflow = MHO and Storage < Total
Storage)
253