5. Simulation Methods variables and constants are represented simply by their names.
Values of level, rate, or auxiliary variables are calculated by evaluating functions of the form y = f (xx n, where xx n
are other variables and constants. The variables and constants involved in such a function are illustrated by a connecting arc (or pipe).
The definition of a function is done through a text-based equation editor. The equation editor window automatically pops up if the details of an equation have not yet been fully defined and the workbench button y = xis pressed (see Fig. 2). The equation editor not only provides an input window for specifying the exact function but also provides fields for specifying the variable unit and an explanatory comment. The equation editor automatically performs simple syntax and consistency checks. There exists also an equivalent textual representation of the entire model (not shown in Fig. 2). The textual representation of model equations has the advantage that string insertion,
deletion, and renaming can easily be performed for the complete model.
The list of buttons directly above the graphical modelling panel offers specialized functionality for adding, deleting,
removing, renaming, hiding, and showing of model variables. The column of buttons on the left hand side of the modelling panel provides specialized functionality for model analysis and simulation output presentation in the form of graphs or tables (cf. Fig. 3). For example, the window in the lower right corner of the screenshot presented in Fig. 3 shows two levels of causal dependencies between variables. Values shown in parentheses indicate feedback loops. From the open window within the modelling panel one sees that:
Fig. 3VENSIM workbench with activated
analysis and output tools 130 MM ller and D. Pfahl design doc size f development activity, verification activ
=
iity
(
)
(3)
while development activity =
f design doc dev status, design le
(
aarning status, design to do size, productivity
design learrning amplifier, randomized average design dev rate)
(4)
Graphs showing the reverse dependencies, i.e., variable or constant uses, can also be automatically generated (not shown in Fig. 3). Other windows in Fig. 3 show the output of one simulation run (here Current-Design) in the form of tables and graphs (lower and upper windows in the left half of
the graphical modelling panel, as well as information about the model structure.
Share with your friends: