Notation for referencing variables, Calculation functions overview – MTS Multipurpose Elite User Manual

Page 214

Advertising
background image

Task
Reference

Calculation Editor

(p. 210)

Notation for Referencing Variables

You can reference variables with delimited notation. A dot separates the variable name from the specifier:

<variable_name>.<specifier>

For example, the display name of a variable named PeakLoad is:

<PeakLoad>.<display name>

Specifiers Properties

Description

Item

Shows the display name of the variable.

Display Name

Shows the internal name of the variable.

Identifier

Shows the units of the variable.

Units

Shows the array size of the variable. If the variable
is not an array, the value is 1.

Size

For More Information

Task
Reference

Calculation Editor

(p. 210)

Calculation Functions Overview

The functions available in the Calculation Editor are tools for calculating the value of a variable. The
functions support computations using arithmetic, logic, and project variables.

If a function has mandatory parameters, a corresponding value for the parameters must be supplied. The
value of a parameter is referred to as an argument. The number of parameters of a function, along with
the parameter names form the signature of a function. The function signature describes the parameters
and parameter types with which to make a legal call (that is, properly use) to the function. The signature
contains the name of the function, its parameters and their type, and the return value.

Functions can operate directly on an operand are referred to as operators. Functions may require one or
more arguments be passed to them, or may not accept arguments.

Operators

When an operator is added to a calculation, it acts directly on the operands to its left and right by assigning
a value, performing a comparison, or performing a mathematical calculation.

214 | MTS TestSuite

Working with Variables

Advertising