Page 63 - ExtendSim User Guide
P. 63

The final Reservoir model
If you have followed all the steps, your model should look similar to the Reservoir model shown here.
My Reservoir model
Additional enhancements
Now that you know how to create a model, you can explore some other features, such as hier- archy and cloning, that are easy to do and will greatly enhance your models.
Introduction to hierarchy
The Reservoir model displays one block per function performed, i.e. the Lookup Table block outputs the amount of water coming from rainfall, the Random Number block outputs the water coming from a stream, etc. For such a simple model, this works fine. However, models created for real-life simulations can involve thousands of blocks. Building, organizing, and presenting a complex model with all the blocks on one layer of the worksheet would be very difficult.
To help simplify and clarify models, ExtendSim lets you create hierarchical blocks (H-blocks) that group several blocks together into one block while still allowing you to drill down into the lower levels to access the individual blocks.
Creating a hierarchical block from existing blocks
In the Reservoir model, you can group the blocks that represent sources of water together into one hierarchical block. This process is extremely easy.
Group-select (shift-click) the Lookup Table, Random Number, and Math blocks. Do not select the text labels (Rainfall and Stream) of the named connections!
Building a Model 37
The final Reservoir model
Select Model > Make Selection Hierarchical.
A dialog appears prompting you for a name for the hierarchical
block.
Enter Water Sources. Click Make H-Block.
Hierarchical block
The three individual blocks are replaced with a single hierarchical
block with a white rectangle for an icon. By default, hierarchical blocks have drop shadows to distinguish them from other blocks; you can change that option by choosing Edit >
Tutorial


































































































   61   62   63   64   65