If you want to share parameter values or variable values between submodels, you can use signals from one submodel to the others. This is not always desired and it will increase the effort that you have to make in connecting submodels.
Using globals is an alternative for sharing values. By defining a parameter or variable global, we can instruct 20-sim that a parameter or variable value is shared between submodels.
If you want to share parameters or variables between submodels, you have to:
2. | Define the scope of the globals, i.e. which models share the same parameters and variables? |