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

Continuous Process Quick Start Guide
Creating custom blocks
the equation if you have a problem. The equation is automatically compiled when you click OK in the block’s dialog.
See the User Reference (How To: Math and Statistics) for detailed information about the equa- tion-based blocks and how to use them.
Creating custom blocks
You create custom blocks the same way the blocks in the ExtendSim libraries were created— using the ExtendSim IDE and ExtendSim programming tools. And your custom-built blocks can be saved in ExtendSim libraries for use in all models.
The ExtendSim integrated development environment (IDE)—the API, source code editor, compiler, dialog editor, graphical UI builder—makes it easy to modify blocks, develop custom features, and create new blocks with custom code, dialogs, and icons.
There are also sophisticated ExtendSim programming tools such as: • Include files
• Conditionalcompilation • Source code debugger
• Blockprofiler
• Codecompletion
• Extensions
• External source code capabilities
See “Create custom continuous process blocks” on page 18 or the Technical Reference for information and tutorials on creating custom blocks.
Model-building to represent the dynamics of the system
Use these features and capabilities to build a model that represents the dynamic behavior of any continuous process system.
• Draganddropmodelbuilding
• Usepre-builtmodelingcomponentsfromtheValue, Chart, and Utilities libraries to represent system behavior. For example, select one of the 35 built-in distributions using the Random Number block (Value library).
• See“Blocksforbuildingcontinuousmodels”onpage17ortheUserReferenceappen- dices.
• Hierarchy
• Encapsulate sections of a model into hierarchical blocks for scalability.
• Creategenericmodelstructuresandstoretheminlibraries for reusability in other models.
Custom dialog in programmed block
Selecting a random distribution
Hierarchical block represents rainfall and stream

   46   47   48   49   50