Download Getting started with Dymola

Transcript
A bound parameter
cannot be changed interactively.
The parameters r and m can be set interactively between simulation runs, but not the
parameter load.J because it is no longer a free parameter; an expression is now binding it to
r and m.
1.4.9
Documenting the simulation
The command window can be used to document the simulation. Text (also headers), images
and links can be inserted and edited using the tools that are available in the toolbar in the top
of the command window.
Plot results can also be automatically be inserted in the command log by entering the
following in the command input line at the bottom of the command window:
Advanced.ScriptingWindow.IncludePlot=true
Followed by Enter, in the command input line (see figure below).
This is by the way a typical example of setting a flag; using flags is not unusual in Dymola.
Now the content in the command log pane can be edited to document the simulation in a
good way. Commands given and output results will be automatically be included (including
plots).
An example of documenting better values of the PID controller could be:
GETTING STARTED WITH DYMOLA
69