The Model Simulator loads a model and runs the model simulation.  The model simulator accepts user inputs, calculates variable and component values, detects threshold crossings and component errors, animates symbols, draws simple graphs and logs all pertinent information for the user.  The logs are sufficient for the user to play back the simulation at a later time if network connectivity is lost or computing resources are insufficient to perform the simulation calculations at a later time or in the required timeframe.  The model simulator can produce a movie from a simulation.  The model simulator also produces finely formatted detailed graphs and reports suitable for publication on the web or in print media. 


Loading a Model to Simulate


The Model Simulator begins the user session with a prompt for the user to select and load a model to run a simulation on.  The user has several options:

  1. select a model from a library of models stored locally in the system dynamics calculator

  2. select a model from local media such as a memory card, USB storage device or a SAN or NAS device attached or bonded to the system dynamics calculator

  3. select a model from remote libraries in model warehouses available over the Internet

  4. optionally build a new model from scratch with the system dynamics calculator model builder


These options may require the following actions:

  1. accessing the Internet, browsing for a model and downloading it into the SD Calculator memory

  2. verifying a credential of the source server to confirm the integrity of the source server

  3. verifying a checksum or a hash to confirm the integrity of the model file

  4. checking the model file out of a version control system and returning it revised to the control system

  5. encrypting or decrypting the model file


Once a model is loaded, the model simulator identifies and loads the data that is necessary to define variable values and in the model.  This initial data includes the following:

  1. user-input values of constants in model formulas and for initial stock levels

  2. local datasets such as TAL files exported from personal finance software

  3. remote datasets from websites such as US Census Bureau or the New York Stock Exchange


To accomplish the import of data from files and websites, the simulator may be required to generate queries and parse responses with a set of rules that the user may have to define. 


Defining the Model Simulation


The Model Simulator operates each model component according to a set of characteristics that the user defined when the model was built.  The following Model Simulation Base attributes are defined in the Model Simulator process for the model:

  1. SIM NAME STRING - the simulation scenario’s user assigned plain language label

  2. SIM NAME REG - the label assigned to the simulation scenario by the Model Builder

  3. SIM OWNER - the Model Simulator user who defined the simulation method

  4. SIM VERSION NUMBER - the simulation base reference version number

  5. SIM VERSION OWNER - the name of a person or organization name, a URL

  6. SIM VERSION DATE - the published date

  7. SIM REVISION NUMBER - an appended simulation revision number

  8. SIM REVISION OWNER - the user who last revised the simulation revision

  9. SIM REVISION DATE - the date of simulation revision changes

  10. SIM COMPLIANCE - the version of the global system dynamics modeling standard followed by the Model Simulator process

  11. SIM SCRIPT LIST - (optional) a list of simulation initialization and execution scripts

  12. SIM NUMBER SYSTEM - the number system set for the model – typically base 10 (default)

  13. SIM CURRENCY SYSTEM - the currency system set for the model – typically dollars (default)

  14. SIM UNIT SYSTEM - the unit system set for the model – typically Metric (CGS default)

  15. SIM MODE - (optional) a value of n (the number of simulations to run useful with random variables), “ACCURATE” (default) or “QUICK”

  16. SIM PAUSE - the amount of time to pause between intervals (optional);a value in seconds of 0 (default) or a number

  17. TIME START - the starting model time for the simulation with a value of  “now” or a specified date and time or “null” (not a time-dependent model)

  18. TIME INTERVAL - the basic time increment for each trial of the model such as a number of years, months, days, hours, minutes, seconds, or “null” (not a time-dependent model)

  19. TIME PERIOD - the number of time intervals in a report period, or alternatively

  20. TRIAL PERIOD - the number trials in a report period

  21. TIME FIRST PERIOD - the number of time intervals in the first period, or alternatively

  22. TRIAL FIRST PERIOD - the number of trials in the first period

  23. TIME END - the ending model time for the simulation such as a specified date and time, or alternatively

  24. TRIAL LAST - the number of trials (time intervals) simulated

  25. LOCK SIM - a value of “NO” (default) or “YES” to prevent Model Builder changes by a user who is not the model owner, model version owner, model revision owner, simulation owner, simulation version owner, simulation revision owner or authorized by a password

  26. SIM DESCRIPTION - an abstract of the simulation’s scope and use – a “Read Me”


The default currency system is associated with the user location. 


The model simulator checks the MODEL MODE attribute to determine if simulation attributes for the model are calendar / clock-based or unitless interval trials for model calculations. 


Basic Simulator Control Strip Functions


The simulator control strip performs the following functions:

  1. run the simulation

  2. pause and resume the simulation

  3. stop the simulation

  4. build a custom graph

  5. build a custom table

  6. examine the simulation logs


System Dynamics Calculator  

Calculating the Simulation

        System Dynamics Calculator

                The Calculator

                The SD Model in Depth

                The Model Builder

                The Model Simulator

                        Loading a Model to Simulate

                        Defining the Model Simulation

                        Basic Simulator Control Strip Functions

                        Calculating the Simulation

                        Simulator Output

                Appendix: The Modeling Process

                System Dynamics CalculatorR1.pdf

                SD2ProjectProposalSDS.pdf