Generate derived results

Use New curve on the Output Grapher toolbar to create new variables from existing variables, arithmetic operators, and functions of real numbers.

Curves are calculated after the simulation stops, not in real time.

  1. On the Output Grapher toolbar, click New curve .
  2. In the Name box, enter a name for the new variable.
  3. In the Equation box, enter the equation that defines the variable.

    To enter numbers, the functions of real numbers, arithmetic operators, and existing variables, type them in the Equation box.

    You can use mathematical functions that have real arguments and return real solutions. For example,

    • cos, sin, tan
    • acos, asin, atan
    • cosh, sinh, tanh
    • abs (absolute value)
    • exp, log, log10
    • sqr (square of the value), sqrt (square root)
    • sign ( -1 if the value < 0, +1 if the value = >0)
    • sign0 ( -1 if the value < 0, +1 if the value > 0, 0 if the value = 0)
      Note: Trigonometric functions use the current angular unit (degrees or radians).
    • The constant pi (spelled with capital letters: PI)
    Note: The current time of the simulation is collected by the time variable.
  4. Alternatively, to enter a variable, click the box next to the variable in the Output Grapher browser.
  5. Return the cursor to the formula text entry box.

    A check of the name and equation is done in real time. The results of the check appear to the right of the Equation box.

  6. Click OK.

    The name of the new variable appears in the Output Grapher browser under the User Variables folder. It is available for viewing and for using to define another new variable.