Viewing Element Dependencies
Within a SubModel
In complex models, it is often useful to explore the
interdependencies of the various elements (i.e., who affects who). GoldSim
provides two very powerful utilities for doing this: the
If the tree includes a SubModel A specialized element that allows you embed one complete GoldSim model within another GoldSim model. This facilitates, among other things, probabilistic optimization, explicit separation of uncertainty from variability, and manipulation of Monte Carlo statistics., the SubModel is effectively treated as an element (this is in contrast to a Container An element that acts like a "box" or a "folder" into which other elements can be placed. It can be used to create hierarchical models., which generally would not show up in the tree at all). That is, the SubModel is treated as any other element with inputs and outputs would be treated. With regard to the dependency tree, it is simply a "custom" element. In the example below, the Expression A is shown to be a function of Y and the SubModel:
In many instances, however, you may be interested in looking inside the SubModel to view the dependencies. That is, it may not be enough to know that A is a function of SubModel1; you may want to explore exactly what A is a function of within the SubModel.
To facilitate this, GoldSim allows you to expand SubModels within a Function Of or Affects tree:
When GoldSim displays items inside a SubModel in this way, it always does the following:
- The SubModel is clearly labeled as such.
- The contents of the SubModel in the tree are shaded (orange) to indicate that these items are inside the SubModel. (If there are SubModels within SubModels, different shades are used to indicate this).
- In addition to showing the elements inside the SubModel, GoldSim also displays any items on the input and output interfaces that may be involved (and these are clearly labeled as such). In the example above, the tree is indicating that A is a function of the "Prob" output on the SubModel interface, which is a function of the element W inside the SubModel, which is a function of the "~X" input on the SubModel interface, which is a function of the X element outside of the SubModel.
Learn more
- Building the Contents of the SubModel
- Carrying Out Nested Monte Carlo Simulation Using a SubModel
- Controlling How Run Messages are Logged for a SubModel
- Controlling the Appearance of the Graphics Pane for a SubModel
- Controlling When a SubModel is to be Run
- Creating the Input Interface to a SubModel
- Creating the Output Interface to a SubModel
- Exporting SubModels
- Importing SubModels
- Interrupting and Pausing a Simulation Within a SubModel
- Protecting the Contents of a SubModel
- Running an Optimization Within a SubModel
- Saving and Viewing Results Inside a SubModel
- Specifying the Modules and Module Options for a SubModel
- Specifying the Simulation Settings for a SubModel
- Specifying the Solution Type for a SubModel
- Using Resources Inside a SubModel
- Viewing and Editing SubModel Summary Information
- Viewing Element Dependencies Within a SubModel