Using Resources Inside a
SubModel
Like standalone models and Containers, 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. can provide Resources to elements inside it.
To provide Resources to elements inside the SubModel, check the Provide Resources checkbox on the SubModel's Definition tab:
When you do so, a Resources tab is added to the SubModel's dialog:
This tab can be used to create Resource Something that has a limited supply (e.g., spare parts, fuel, skilled personnel, money) and is required in order for elements of the modeled system to carry out certain actions. Types (and global stores) for use inside the SubModel.
Several points should be noted regarding the use of Resources inside SubModels:
- Elements inside a SubModel have no access to Resource Types or Resource Stores outside of the SubModel. Resources in the SubModel are completely separate and independent from Resources in the parent model.
- If you create a SubModel by importing a GoldSim model, and that model has Resources defined, the Provide Resources checkbox will automatically be checked, and any Resource Types and Stores defined in the original model will become part of the SubModel.
- If you export a SubModel, any Resource Types and Stores in the SubModel will become available in the exported standalone model.
- 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