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

Continuous Process Quick Start Guide
Getting data into the model
• UsetheEquationblock(Valuelibrary)ortheExtendSimIDEtoprogrammaticallycre- ate custom animation behavior in blocks you create.
• TheNotifyblock(Valuelibrary)playsasound,stopsthesimulation,orpromptsforanout- put value when its input is true
• Also see...
• The ExtendSim database as a tool for presenting data, as discussed on page 47
• Text,graphicobjects,andpictures:ExtendSimsuppliestoolsfor,andsupportsthestan- dard methods of, handling text and graphics. Pictures placed directly on the model worksheet are automatically placed in the background.
• Interactivity:clickabuttonorchangeparametersduringasimulationrun.
• Named connections: text labels that are used to represent one output at multiple loca- tions in the model, without using connection lines. See the Reservoir models located at Documents/ExtendSim/Examples/Tutorials/Continuous for examples.
• The Throw Value and Catch Value blocks (Value library): use these blocks to transfer values remotely, even between hierarchical layers, without connection lines.
• TheNavigatortool:thisexplorer-likewindowisessentialfornavigating through the hierarchical structure of a model.
Getting data into the model
Bring data into the appropriate parts of a model for use before or during the run.
The preferred method is to get all the data into the model at the beginning of a run; importing data during a run could unnecessarily and dramatically slow the simulation.
• Enter data into model components before the run starts:
• TypeoruseCopyandPastecommandsortoolstoenterdataintofieldsortablesin block dialogs
• Enter data into parameter fields and tables that have been cloned from block dialogs into notebooks (mentioned in page 45) or onto the worksheet
• UseaReadblock(Valuelibrary)togetmodeldata,at the start or during a run, from an Excel worksheet, a text file, local table, global array, or ExtendSim inter- nal database.
• Create an ExtendSim database, discussed on page 47 to manage data,; enter inputs directly into its tables
• Importdataintoamodel’sinternalrelationaldatabaseor(lesscommon)globalarray;both are discussed on page 47:
• Data Import Export block—transfer data before, during, or after a run from an external source (Excel, ODBC database, FTP file, text file, ADO database, or XML file) to an inter- nal target (ExtendSim database or global array).
• Read block, discussed above.

   48   49   50   51   52