Each element within a model has a wide variety of configuration, which can be accessed and modified through the Inspector. The Inspector is opened by clicking on the element in the workspace, which will open pinned to the right hand side of the screen. The contents of the inspector are specific to the type of element inspected.
Variables, Flows and Stocks
The core simulation elements of Variables, Flows and Stocks share a common structure to their inspector, with a few extensions specific to each element:
- Name: The Name of an element is the name used to reference that element from other places within your model, and must be unique to the panel the element is within (see Project Structure for information on structuring models with panels).
- Stub: The stub is a small extra piece of text, which is displayed underneath the name. This has no semantic use, but is helpful for e.g. documenting units.
- Formula: The formula defines how the values for an element are calculated. Note that the formula is only used for the initial value of stocks (unless 'Act as Variable' is enabled on the stock). See Formulae and Functions for information on using formulae and available functions.
- Elements can also contain a second formula for computed actuals, see Actuals documentation.
- Chart: The inspector will show a builtin chart for the values of the element. This chart can also be used to draw in values for Actuals.
- Min, Max and Clip settings can be used to define the y-axis range shown by the chart. Unless 'clip' is enabled, the axis range will automatically grow from the provided min/max to cover the data of the element.
- Note: The note field is a freeform text field, which can be helpful for documenting elements, e.g. noting assumptions or reasoning for logic.
- Data: The Data area for each element shows a tabular view of the values of the element through time, with the Actual data being editable.