Creating the Interface to a SubModel

Because 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. is a self-contained system (i.e., a separate model), by default, elements outside a SubModel cannot "see" anything on the inside, and elements inside a SubModel cannot "see" anything on the outside.

Of course, if order to be of any value, a SubModel must have some way to communicate with the outer model. This is done by creating an interface between the SubModel and the outer model.

The interface is accessed via the Interface tab on the SubModel dialog:

The top part of this dialog is used to define the input interface. The bottom portion is used to define the output interface.

Defining the interface is discussed in detail in the topics below.