UserPeriodic

Input

It is possible to define embedded variables in this transformation. In the expression both embedded variables and variables defined at the start of the transformations configuration file can be used. If an embedded variable and a variable defined at the start of the transformations configuration file have the same variableId, then the embedded variable will be used.

Expression

For instance "X1 + X2 * 3". In the expression reference input variables or coefficients using their id, e.g. "X1 + a" where "X1" is the variableId of a variable defined elsewhere and "a" is the id of a coefficient defined in a coefficientSet. A variableId or coefficientId should not start with a numerical character and should not contain operators. The following operators can be used in the expression: +, -, /, *, ^, sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, log, ln, exp, sqrt, abs, pow. "pi" in lowercase letters is recognised as a standard constant. This means that the user cannot use variables or coefficients with id "pi".

Coefficient set

Should contain the coefficients that are used in the free format expression. Defined the ids and values of the coefficients here, then reference to the ids of these coefficients in the expression. Make sure that for all the coefficient ids in the free format expression the values are defined here.

Periodic Output Range

Output values will be shifted periodically to within this range, e.g. [0, 360]. The lower and upper limits are inclusive.

Output
  1. output: result of the evaluated expression, shifted periodically to within the given output range.
Description

Function specified by a custom free format expression and coefficients. Any number of input variables and coefficients can be used in the free format expression. The expression may contain general mathematical operators. A function parser is used to evaluate the expression. For each time step in the output time series the expression is evaluated. Each result is shifted periodically to within the given output range and written to the output time series.

  • No labels