Presentation Elements
Simulation Elements
Simulation Principles


Submodels allow you to create instances of a model from inside another, which can then be configured and fed data from the containing model, and results pulled out. This can be useful in a number of situations:

If you need to model a large number of distinct items, especially where they may influence each other (eg hundreds of people, restaurants, or business), submodels may not be a suitable approach. Sysdea does not currently have any suitable tool for these situations (commonly tackled with 'Arrays' in SD software) but there are approaches being investigated.

Configuring a Submodel

Submodels are created using the Workspace context menu, or the 'm' shortcut key.

The inspector then allows you to give the Submodel a name, and select which model to use. The green button opens a window onto the model chosen, where you can inspect the internals, and override elements.

Element Overrides

Clicking on an element in the Submodel inspector workspace, will open a limited inspector. This will show you the current formula for that element. Any change to this formula will mean that its value is now being overridden by the parent model. Formulae entered in this way are in the context of the parent model, not the child. Variable lookup will occur with respect to the parent models variables.

The button next to the chart allows you to clear this override, returning the element to how it behaves usually.

Values from Submodels

You can access the values of items inside the model using the "Submodel"->"Child Element" syntax, and the inspector will for autocomplete items inside the submodel for you after the ->.