EXPR_FUNCTIONS#
module wntr.msx.base
- EXPR_FUNCTIONS#
Mathematical functions available for use in expressions. See Table 19 for a list and description of the different functions recognized. These names, case insensitive, are considered invalid when naming variables.
Table 19 Functions defined for use in EPANET-MSX expressions.# Name
Description
absabsolute value
sgnsign
sqrtsquare-root
stepstep function
expnatural number, e, raised to a power
lognatural logarithm
log10base-10 logarithm
sinsine
coscosine
tantangent
cotcotangent
asinarcsine
acosarccosine
atanarctangent
acotarccotangent
sinhhyperbolic sine
coshhyperbolic cosine
tanhhyperbolic tangent
cothhyperbolic cotangent
*multiplication
/division
+addition
-negation and subtraction
^power/exponents
(,)groupings and function parameters