Creating Simple Equation Calculations

  1. Browse into the Plant Model, then into A Production Unit and Group.

  2. Right-click on a Group and select "Create Variable."

  3. Type in the name of the new Variable. Variable names must be unique within a given Production Unit.

  4. Select the new variable; right-click and select "Create Calculation."

  5. From the Calculation Configuration window, select a Calculation Type of "Equation."

  6. Type in the number of inputs the calculation will have.

  7. Type the Equation within the Equation window. Variables names A-Z are used as "aliases" to inputs, with "A" being the first input, "B" being the second input, and so on.

  8. Select the "Identify Input Variables" tab.

  9. Select the first Calculation Input and select identify the variable attached to the calculation by selecting the "…" button at the bottom of the screen.

  10. From the Search Variables dialog, optionally select a Production Line, Production Unit, and all or part of a variable description to limit the variable search.

  11. Select the "Search" button.

  12. Select a variable from the search results to attach to the calculation and select "OK" to return to the calculation configuration window.

  13. Select "Save" to save the calculation.

  14. Set up the calculation interval. By default, the calculation will trigger each time one of the input variables change. You may also force calculation on a time or event basis by modifying the attributes of the variable the calculation is attached to.

  15. Select the Variable; right-click and select "Variable Sheet."

  16. In the Variable Sheet window, select "Production Event" for the Event Type. This will cause the calculation to fire whenever the input variables change, or whenever a Production Event is created or modified.

  17. When finished in the Variable Sheet, select the "Save" icon in the toolbar to make the current changes active.

See Also