Page 603 - ExtendSim User Guide
P. 603

Libraries and Blocks 577
Working with blocks
☞ Any type of connector—value, flow, or item—can be connected to universal input connectors. Also note that if you create blocks that have user defined connectors, those connectors can
only be attached to other user defined connectors and to universal connectors.
Dialogs
Most block dialogs let you change or view the settings before, during, and after a simulation run. Some of the things you can do using a dialog include:
• Choosefrommultiplefunctions(e.g.theMathblock) • Enter initial values
• View simulation results
• Add comments to help document your models
• Set animation criteria
• Choosenotificationoptions
To open a block’s dialog, double-click or right-click the block’s icon. For example, if you double-click the Holding Tank icon, the dialog at right opens.
In the dialog’s title bar is the block’s global block number, its name, and, in braces, the library it resides in.
As each block is added to a model it is assigned a unique and sequential global block number from 0 to n-1. This sequence does not change. If a block is deleted, its number becomes an “unused slot” which is available when another block or text is added to the model window.
Holding Tank dialog
Each block within a hierarchical block has a
second, local, block number that reflects its
relationship to the other blocks in the hierarchical submodel.
Left: Random number block on worksheet, global number is 13
Right: Inside hierarchical block, global number is still 13, local number is 0
At the bottom of every dialog is a Help button that provides more information, such as the block’s purpose and use, what each connector does, the meaning of each dialog item, and so on. Beside the button is a text box where you can enter a label for the block, up to 31 charac- ters. The View popup box lets you change the view of the icon for the selected block, when available.
Some dialogs also calculate and display values that are generated as the model runs, so if you leave a dialog open during the simulation, you can watch the impact on different variables. You
How To


































































































   601   602   603   604   605