Version User Scope of changes
Jun 21 2011, 9:04 AM EDT (current) sdrevik 487 words added, 40 words deleted
Oct 11 2009, 12:54 PM EDT sdrevik

Changes

Key:  Additions   Deletions
Supports AirVision functionsincludes the similarcapability to mathperform pack,mathematical butcalculations anat easierthe processingserver, systemeither /on a manual basis, or as a scheduled task. To perform these calculations, the user interface.will need to define the mathematical calculation to be made in the Math Equation Editor. Each equation is given a name to reference (e.g., “SO2_Adjustment”) which is then referenced in the math utility or the Task Scheduler.
Equations may act on any defined average interval, and must reference Parameter Templates, rather than specific site/parameter combinations. This allows a general equation to be configured once, and used for multiple sites without having to repeat the same equation.

ConfigureTo create a new equation, open the Math Equation Editor and click the “Add argsEquation” button. Enter the Equation Name (required), and relations,optional unaryDescription, and binarythen the equation. The equation takes the form of parameter template names, operators, and functions. Parenthesis are supported.

Binary operators (operators on operators:two variables) include:
* Multiply
/ Divide
+ Add
- Subtract
% Modulo (remainder)

Other binary and Uniary functions (functions that operate on one variable termor one result of another (parameter,embedded equation) include:
Name Description Usage
Abs Returns the absolute value of a specified number. Abs(-1)
Acos Returns the angle whose cosine is the specified number. Acos(1)
Asin Returns the angle whose sine is the specified number. Asin(0)
Atan Returns the angle whose tangent is the specified number. Atan(0)
Cos Returns the cosine of the specified angle. Cos(0)
Exp Returns day,e month,raised hour,to the specified power. Exp(0)
Log Returns the logarithm of a specified number. Log(1, 10)
Log10 Returns the base 10 logarithm of a specified number. Log10(1)
Max Returns the larger of two specified numbers. Max(1, 2)
Min Returns the smaller of two numbers. Min(1, 2)
Pow Returns a specified number minute,raised fixed)Applyto unarythe operatorspecified (sqrt,power. Pow(3, 2)
Round Rounds ln,a exp)value to the nearest terminteger or groupApplyspecified binarynumber of decimal places. The mid number behaviour can be changed by using EvaluateOption.RoundAwayFromZero during construction of the Expression object. Round(3.222, 2)
Sign Returns a value indicating the sign of a number. Sign(-10)
Sin Returns the sine of the specified angle. Sin(0)
Sqrt Returns the square root of a specified number. Sqrt(4)
Tan Returns the tangent of the specified angle. Tan(0)
Truncate Calculates the integral part of a number. Truncate(1.7)

Important note: these equations MUST be referred to by the case-specific version of the equation. You must use “Max(x,y)”, not “MAX(x,y).”

For equations, Information flags are not propogated, while Validity flags are propagated from constituent channels. Consult the Flags Editor for details operatoron relationwhich (MSAD,flags ^)are relationconsidered Informational and Validation flags.

Math Task Scheduler:
The task scheduler can execute equations automatically using the “Calculate Math Parameters Type” task. This task operates on a particular site and interval combination, and seeks out all equations for which there are fully matching parameter templates. If an equation in the table can’t be executed on that site for lack of parameter templates or available data, the equation is skipped.