TargetHWGivenInflow

This function computes the outflow required to meet a specified Pool Elevation at a specified future timestep. It performs a lumped mass balance across several timesteps specified as a target range. This function only works with Storage Reservoirs and Level Power Reservoirs.

Description

Computes the outflow required to meet a target pool elevation

Type

NUMERIC

Arguments

Type

Meaning

1

OBJECT

the reservoir on which to perform the calculation

2

DATETIME

the target begin date

3

DATETIME

the target date (target end date)

4

NUMERIC

the target pool elevation value

5

NUMERIC

the total inflow volume over the target range

6

NUMERIC

the previous storage value (before the target begin date)

Evaluation

This function takes the target pool elevation value and converts it to a storage. This is the storage value desired at the target date. The difference between the target storage and the previous storage is the change in storage over the target range. Since the total inflow volume over the target range is given as an argument, the total outflow volume can be computed (side flows and hydrologic inflows are considered in this computation). The total outflow volume is then converted to a flow rate and divided by the number of timesteps in the target range. The result is a single timestep outflow value. This value needs to be set on the outflow slot for every timestep in the target range in order to meet the target pool elevation.

Mathematical Expression
 
Comments

This function is intended to be used with Storage Reservoirs and Level Power Reservoirs. If using a Slope Power Reservoir, the TargetSlopeHWGivenInflow function should be used. Target operations cannot be done on a Pump Storage Reservoir.

This function will issue an error if the method, , is selected and the target begin and end dates bound a table modification date.

 
TargetHWGivenInflow(Lake Mead, @"24:00 January 1, 2002",
@"24:00 January 5, 2002", 1200 "ft", 70,000 "acre-ft",
Lake Mead.Storage[@"24:00 December 31, 2002")
 
23.43 "cms"