Parameters

The Parameters element is a location for evaluated, user defined variables that can be used in other elements of the simulation. A parameter is a mathematical combination of constants and other parameters. You may add a new parameter using the Add button under the Elements Tree.

These variables may be assigned where appropriate by right clicking the value and selecting Assign Parameter.

kind (not editable): The kind of constant; a User Defined kind.

description: A descriptive name of the parameter.

expression: This is the user-supplied expression that will be calculated to determine the value of the parameter. It can include any pre-defined Constants as well as real numbers and some functions. Use a “^” to raise numbers to a power. Available functions include:

  • abs(x): takes the absolute value of “x”.
  • rint(x): rounds “x” to an integer.
  • sqrt(x): take the square root of “x”.
  • sin(x): take the sine of “x”, where “x” is in radians.
  • cos(x): take the cosine of “x”, where “x” is in radians.
  • tan(x): take the tangent of “x”, where “x” is in radians.
  • asin(x): take the arcsine of “x”, where “x” is in radians.
  • acos(x): take the arccosine of “x”, where “x” is in radians.
  • atan(x): take the arctangent of “x”, where “x” is in radians.
  • sinh(x): take the hyperbolic sine of “x”, where “x” is in radians.
  • cosh(x): take the hyperbolic cosine of “x”, where “x” is in radians.
  • tanh(x): take the hyperbolic tangent of “x”, where “x” is in radians.
  • log(x): take the natural log of “x”.
  • log10(x): take the base 10 log of “x”.
  • exp(x): raise Euler’s constant to the power “x”.

value: The RSim calculated value of the expression.