GetMinSpillGivenInflowRelease

This function evaluates to the minimum spill from a StorageReservoir, LevelPowerReservoir, or SlopePowerReservoir with the given inflow and release at the specified timestep.

Description

The minimum required spill through unregulated and regulated spillways.

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 average release over the timestep

4

DATETIME

the timestep at which to calculate

Evaluation

This function calls the getMinSpillGivenInflowRelease() function on the given reservoir object at the given timestep, and provides it with the average inflow and release over the timestep. A convergence algorithm is used in this function and is detailed in .The function iterates to convergence by computing the end of timestep storage and pool elevation, the average HW over the timestep, and the spill:

Evaluation
(continued)
  • unregulated spill: calculated from the Unregulated Spill Table based on the average Pool Elevation. See the spill method for more details on how this is computed
  • regulated and bypass spills: assumed to be zero unless input by the user.
  • outflow: sum of the calculated spill and the release specified in the function.
  • pool elevation: solved for by mass balance using the specified inflow and calculated outflow.
Mathematical Expressions

 

 

 

 

Comments

The previous timestep’s Pool Elevation and Storage , as well as the evaluation 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.

 
GetMinSpillGivenInflowRelease(%"Hoover Dam", Hoover Dam.Inflow[],
0.0 "cfs", @"t"}
 
1283.7047 "cms"