Skip to content

FORMULA ​

Hint

The result function "Special formula" does not restrict the agent with regard to the model type.

The result function "Special formula" must be introduced by the expression FORMULA. This result function can then define formulas which can be calculated by the respective agent. The result function is named (ResultName) by name.

Attention

The names of result functions must be non-ambiguous within an agent.

The lock/hide parameters lock-name and hide-name control the naming of the result.

Specifying the simulation algorithm for the result function defines during which algorithms the formula is calculated. You may of course specify several simulation algorithms following each other.

Hint

When no algorithm is specified, the animation is by default executed duringall the simulation algorithms.

Attention

The special formula is only calculated in those simulation algorithms in which underlying results are available.

  • path-analysis indicates the path analysis.

  • volume-analysis indicates the capacity analysis.

  • wlstatic-analysis indicates the Workload analysis (static view).

  • wlnonstatic-analysis indicates the Workload analysis (dynamic view).

The expression expression specifies the calculation formula according to which the formula is being calculated.

Attention

Inverted commas (") and back slashes (\) inside the formula must be "masked" by a back slash \.

Example:

expression: "\"Execution Time\" + \"Waiting Time\""

A calculation formula always contain one or more result names (under "masked" inverted commas) which are connected by the operators (BasicOperator, AdvancedOperator1 or AdvancedOperator2).

All result names used in the formula must correspond to results which have been calculated by the same agent.

Hint

Long calculation formulas can be broken up over several lines.

Hint

If the expression expression is not specified, the ADOxx user himself has to specify the calculation formula.

The lock/hide parameters lock-expression and hide-expression control the definition of the calculation formula.

By specifying the Referenced Results the results used in the calculation formula are explicitly defined.