Description
|
The inflow to a reservoir given outflow and storage.
|
Type
|
NUMERIC
|
Arguments
|
Type
|
Meaning
|
1
|
OBJECT
|
the reservoir object for which to calculate
|
2
|
NUMERIC
|
the average outflow over the timestep
|
3
|
NUMERIC
|
the end of timestep storage
|
4
|
NUMERIC
|
the previous (beginning) storage
|
5
|
DATETIME
|
the timestep at which to calculate
|
Evaluation
|
This function calls the massBalanceSolveInflow() function on the given reservoir object at the given timestep, and provides it with the average outflow over the timestep, beginning storage, and ending storage. The function computes the end of timestep pool elevation, and then determines the average inflow over the timestep, taking into account the following sources and sinks.
-
The
Evaporation and Precipitation
Category selected Method.
-
The
bankStorageCalcCategory
selected Method.
-
The
Seepage Calculation
Category selected Method.
-
Side inflows like Hydrologic Inflow, Return Flow, and Diversion are NOT including.
|
Evaluation
(Cont.)
|
The total inflow is then calculated as the difference between the ending and beginning storage over the timestep, plus the outflow, evaporation, bank storage, and seepage, minus precipitation.
|
Mathematical Expression
|
|
Comments
|
The given outflow is a total outflow and should include any spills. The calculated inflow is a total inflow.
|