Download img - DORAS

Transcript
stop tim e 10.0, outputs will be calculated at 0, 0.2, 0 .4 ............ 10.0. Sm aller tim e steps
m ay ensure m ore accurate results but at the same time it m ay increase sim ulation run
tim e depending on the model com plexity and the integrator used.
Step length and sample time o f the nodes in a model m ust be com patible. W hen
setting step length or sample time o f nodes, it should be made sure that sam ple time o f
all the nodes in a model must be an integer m ultiple o f the step length.
3.6
Run a M odel and View O utput
Sim ulating a dynam ic system with this package is a two-step process. First, the user
has to create a model o f the system to be simulated. The model graphically depicts the
tim e-dependent mathem atical relationships am ong the inputs, states and outputs o f the
system. A fter the model creation user has to choose an integration m ethod and then
can use Sim Dynam ic to simulate the behaviour o f the system for a specified period o f
time.
To start a sim ulation run choose run from the sim ulation m enu or click on the run
button from the toolbar. First Sim D yanm ic will initialise the model and then it will
execute the model. If the model does contain error, sim ulation will be halted with
appropriate error message.
To view result o f a sim ulation run, use the nodes (except term inator node) from Sink
node set. To view numerical result use D isplay node, for graphical results Time vs
input or X vs Y Graph nodes can be used. To save sim ulation results in a text file use
To file node. W hen sim ulation run is finished sim ply double click on any o f the sink
nodes to view results. To D at File node from the sink node set can be used to save
sim ulation results in a data file for later use by Sim D ynam ic.
3.7
3D A nim ation
To start the 3D model editor, choose 3D animation from the sim ulation menu.
Sim D ynam ic will open the following 3D model editor.
47