Page 22 - Continuous Process Modeling Quick Start Guide
P. 22

18 Continuous Process Quick Start Guide
Blocks for building continuous models
Chart library
The blocks in the Chart library are useful for any type of model. The most commonly used block is the Line Chart, which traces the history of values over time during the simulation.
Report library
The blocks in the Report library are also useful for any type of model. They gather information as the model runs and display and calculate statistics on the results.
Utilities library
The Utilities library has several blocks that are useful for creating a custom user interface for models and for performing other tasks and activities. See “Control panel/dashboard interface” on page 45 for some examples.
Hierarchical blocks
If your model becomes too cluttered with blocks or you’d like it better organized, encapsulate portions of the model into a hierarchical block. To see the submodel, double- click the hierarchical block. Hierarchical blocks are cre- ated using simple menu commands; they can be copied from model to model and stored in libraries for reuse in other models.
Create custom continuous process blocks
Hierarchical blocks with custom icons
Continuous simulation is used in a wide range of diverse
fields, and it would be impossible to supply one solution that would meet everyone's needs. To make it easy to build blocks with custom dialogs and behavior, ExtendSim contains an inte- grated, compiled development environment. You can create your own blocks—even your own libraries of blocks—and use them to build models. And because you have the source code for blocks that are packaged with ExtendSim, you can copy an existing block and adapt it to your needs or create an entirely new block from scratch.
Because the development environment is optimized for simulation and user-interface design, you can build blocks with less effort and more flexibility than by using a traditional program- ming language. The ExtendSim development environment has the functionality you need to create blocks that can:
• Processdata,performcalculations,andshowresultsinnumerical,graphical,andanimated form
• Communicate with other ExtendSim blocks and with external applications
• Interact with the user
By programming your own blocks you can:
• ObtainspecificbehaviorsnotavailableintheblocksincludedwithExtendSim
• CombinethefunctionalityofseveralExtendSimblocksintoonecustomblockforincreased calculation speed and convenience. (Note that this is different from using hierarchy to encapsulate several distinct blocks as a submodel within one block.)
• Develop a library of blocks for a specific discipline, such as for control systems or paper- making processes
• Design your own modeling architecture


































































































   20   21   22   23   24