Navigation:  Editor > Global Parameters and Variables >


Previous pageReturn to chapter overviewNext page

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.

Using Globals

If you want to share parameters or variables between submodels, you have to:

1.Add the keyword global to definition of the parameter or variable.
2.Define the scope of the globals, i.e. which models share the same parameters and variables?