StorageToElevation

This function performs a lookup in a Reservoir object’s Elevation Volume Table based on a given storage and evaluates to the corresponding pool elevation.

Description

Find the reservoir elevation at a given storage.

Type

NUMERIC

Arguments

Type

Meaning

1

OBJECT

reservoir object

2

NUMERIC

storage

Evaluation

The storage argument is looked up in the Storage column of the Elevation Volume Table of the reservoir object argument to determine the Pool Elevation . If the exact storage is not in the table, the lookup performs a linear interpolation between the two nearest bounding storages and their corresponding elevation values.

Mathematical Expression

 

Comments

If the object is not a reservoir, the function aborts the run with an error.

If the reservoir is a Slope Power Reservoir, the calculation is based only on level storage and does not include any wedge storage effects.

This function will issue an error if the method, , is selected. Instead, use the StorageToElevationAtDate function described next.

 
StorageToElevation(%"WattsBar", 442.39 "1000 cfsday")
 
1792.25 "m"