Professional Documents
Culture Documents
20-sim 4.0
Modeling and Simulation using Bond Graph
What is 20-sim?
A program to simulate the behavior of dynamic
systems, such as electrical, mechanical and hydraulic
systems.
Runs under Microsoft Windows
Supports graphical modeling
Components from library > connect > simulate
1
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
20-sim
Consists of:
Editor Simulator
2
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
20-sim toolboxes:
3D Mechanics toolbox
Animation toolbox
Control toolbox
Frequency domain toolbox
Time domain toolbox
Mechatronics toolbox
Real-time toolbox
3
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
How to use?
Install on your computer:
o Buy the standard/professional version
o Download free (viewer/demo) version:
A full version but models cannot be saved.
http://www.20sim.com
4
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
5
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
This example has been discussed in the class. We built the bond graph of the
system, extracted the equations from the bond graph, and we showed how to
draw the bode plots from the equations. Here we model and simulate the
circuit numerically in 20-sim.
6
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
7
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
2- Click on the button to check the model; then you will see if there is
any errors or warning for the model in the process tab:
8
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
4- From the Parameter/Initial values Editor window, select the model and
enter the parameter value for each component as follow; then click OK
C = 1e-6 C1 = 1e-6 C2 = 1e-6
I = 1e-3 I1 = 1e-3 I2 = 1e-3
R = 100
9
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
6- Click on the to select the parameters you want to have in the plot
7- Click on the Add Curve and select the desired parameters (select C2
from the model components, then select the state). Click OK:
10
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
10- From the menu, select Tool > Frequency Domain Toolbox > Model
Linearization
11- From the 20-sim Model Linearization window, select the input
(Se\p.e) and output (R\p.e) as shown here. Click OK:
11
ME 344 M. D. Bryant, Mohsen Nakhaeinejad 04/15/2008
12- Click on the button to see the Bode plots of the system:
You can learn more by looking at some examples available in the library:
12