Equation panel

Use the Equation panel to specify the equation or initial value for the selected building block. You also use the Equation panel to assign units to a building block and to select options and parameters that affect the building block's equation.

To view the Equation panel, click the tab at the bottom of the panels. For information about using panels, see Working with panels.

Note: To view the Equation panel, you must be viewing the model on the Model layer.

Options

The options available in this section depend on the type of the selected building block.

ClosedStock options
ClosedConveyor options
ClosedOven options
ClosedFlow options

Required Inputs

Displays a list of all inputs that must be used in the equation for the selected entity. Required inputs are those that are connected to the selected entity using connectors. This list appears only if the selected entity is a flow or a converter.

Note: For converters, this list appears only when you have selected a standard )non summing) converter on the Model layer.

Tips: You can also see a list of all allowable inputs for the selected entity (including those that are required) by using the Find window. You can then drag a listed input from the Find window into the Equation box. For more information, see Finding entities in models.

You can also drag a required input entity from the model diagram into the Equation box.

Builtins

Displays a list of builtins that you can include in the equation for the selected building block.

Note: For converters, this list appears only when you have selected a Standard converter on the Model layer.

Tip: By default, the list displays all builtins in alphabetical order. To make it easier to find a specific builtin, select a category in the box at the top of the Builtins list.

Inputs

The list of entities whose values will be added for the selected summing converter.

Note: This box appears only when a summing converter is selected on the model diagram.

Operators / Calculator

Use the buttons in the Operators and Calculator sections to insert numbers and operators into the equation for the building block.

Note: The full calculator is available only when you are viewing the Equation panel for a stock, or when the panels are undocked. For other entities, and when the panels are docked, only the "Operators" section is available.

Tip: You can also insert operators and numbers into the equation by typing them.

Tips: To transpose arrays in an equation, you can use the apostrophe (') as a transposition operator. For example, to transpose the array A[X, Y] as A[Y, X] in an equation, type A'. The apostrophe operator does not appear as a button in the Operator section. You must type it.

If you are defining an equation for an arrayed entity that has more than one dimension with the same name, use the @ operator instead of the dimension name to refer to a particular instance of the dimension. For example, use @1 for the first use of the dimension, @2 for the second use of the dimension, etc.

Parameters

The options available in this section depend on the type of the selected building block.

Tip: For parameters for which you can specify a model entity as a value, you can type the entity's name in the parameter box, or drag an entity from the Find window.

ClosedConveyor parameters
ClosedOven parameters
ClosedFlow parameters

Equation

Use this box to specify the initial value or equation for the selected building block. The initial value specified here is used only at the start of a simulation run.

Note: The name and icon for the selected building block appears just above the Equation box.

The method for defining the initial value/equation depends on the type of selected building block. The following general procedures apply to defining equations for to all types of building blocks. For information on defining equations for a specific type of building block, click the appropriate link below.

Note: You can also generate initial and subsequent values for entities via a link from an Excel or .CSV file by using the data import features. For more information, see Overview: Importing and exporting data.

ClosedDefining equations for stocks
ClosedDefining equations for conveyors
ClosedDefining equations for queues
ClosedDefining equations for ovens
ClosedDefining equations for flows
ClosedDefining equations for converters

Apply To All

This check box appears if the selected entity has been defined as an arrayed entity.

For more information about specifying equations for arrays, see Creating arrayed entities.

Units

Use the options in this section to assign and manage units of measure.

Note: You cannot assign or change units for an entity whose units are defined by other entities. For example, the unit of measure for a flow attached to a stock is defined by the stock's unit of measure. In this case, the flow's units are displayed in the Units box, but you cannot edit them directly; to change the flow's units, change the stock's units.

If you are enforcing unit consistency, when you click at the bottom of the panel to apply your changes, the software performs a unit consistency check on the equation.

Note: You enforce unit consistency in the model by selecting the Enforce Unit Consistency check box in the Model Preferences dialog box.

For more information, see Assigning units, Creating and deleting unit definitions, and Checking unit consistency.

Concept Link IconSee Also