SolveOutflow

This performs a mass balance and evaluates to the outflow from a reservoir given its inflow, previous storage, and end of timestep storage at the specified timestep.

Description

The outflow from a reservoir.

Type

NUMERIC

Arguments

Type

Meaning

1

OBJECT

the reservoir object for which to calculate

2

NUMERIC

the average inflow 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 massBalanceSolveOutflow() function on the given reservoir object at the given timestep and provides it with the average inflow over the timestep, beginning storage, and ending storage. The function computes the end of timestep pool elevation, and then determines the average outflow 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 including: Hydrologic Inflow Net , Diversion , Return Flow , Canal Flow , Pumped Storage Inflow , and Pumped Storage Outflow . These slots are automatically added as dependencies to the calling rule.

The outflow is then calculated as the difference between the ending and beginning storage over the timestep, plus the inflow, side inflows, and precipitation, minus evaporation, bank storage, and seepage.

Mathematical Expression

 

Comments

The given inflow represents the main inflow only and should not include any side inflows. This is the same value which would be in the Inflow slot.

The calculated outflow is a total outflow. It includes both Release / Turbine Release and Spill .

The given timestep’s Hydrologic Inflow Net , Diversion , Return Flow , Canal Flow , Pumped Storage Inflow , and Pumped Storage Outflow are automatic dependencies of this function. Since the function evaluation depends on these slots, any change to their values at the indicated timestep, may impact the function result.

 
SolveOutflow(%"Hoover Dam", 11651 "cfs", 19853486 "acrefeet",
19787262 "acrefeet", @"June, 1984"}
 
21.32 "cms"