Like standalone models and Containers, a SubModel 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 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.
Learn more about: