134. OperatingHeadToMaxRelease

This function performs a lookup in a Power Reservoir object's Max Turbine Q table based on a given operating head, and then evaluates to the corresponding maximum turbine release.

Description

Find the maximum turbine release at a given reservoir operating head.

Type

NUMERIC

Arguments

Type

Meaning

1

OBJECT

power reservoir object

2

NUMERIC

operating head

3

DATETIME

datetime context for unit conversions

Evaluation

The operating head argument is looked up in the Operating Head column, of the Max Turbine Q table, of the power reservoir object argument, to determine the Turbine Capacity. If the exact operating head is not in the table, the lookup performs a linear interpolation between the two nearest bounding operating heads and their corresponding turbine capacities.

Mathematical Expression

OperatingHeadToMaxRelease.jpg

Comments

If the object is not a power reservoir, the function aborts the run with an error. If the Power Reservoir does not have a Max Turbine Q table, Plant Power Coefficient must be selected as the Power selected method, or this function exits the rule with an early termination.

Syntax Example:

OperatingHeadToMaxRelease(%"Hoover Dam", 508.63 "ft",
@"t")

Return Example:

152.23 "cms"