30.    ElevationToArea

These function performs a lookup in a Reservoir object’s Elevation Area Table based on a given elevation and evaluates to the corresponding area.

Description

Find the surface area corresponding to a reservoir’s elevation.

Type

NUMERIC

Arguments

Type

Meaning

1

OBJECT

reservoir object

2

NUMERIC

pool elevation

Evaluation

The pool elevation argument is looked up in the Pool Elevation column, of the Elevation Area Table, of the reservoir object argument, to determine the Surface Area. If the exact elevation is not in the table, the lookup performs a linear interpolation between the two nearest bounding elevations and their corresponding surface areas.

Mathematical Expression

RPLPredefinedFunctions_FM1200008.jpg 

Comments

If the object is not a reservoir, or the reservoir does not have an Elevation Area Table, the function aborts the run with an error (CRSSEvaporationCalc, DailyEvaporationCalc, PanAndIceEvaporation, or InputEvaporation must be selected as the Evaporation and Precipitation Category selected Method.

This function will issue an error if the “Time Varying Elevation Area” method, HERE (Objects.pdf, Section 22.1.24.2), is selected. Instead, use the ElevationToAreaAtDate function described next.

Syntax Example:

ElevationToArea(%"Lake Mead", 1210.03 "ft")

Return Example:

634547087.2 [m2]