20-sim
20-sim is commercial modeling and simulation program for multi-domain dynamic systems, which is developed by Controllab. With 20-sim, models can be entered as equations, block diagrams, bond graphs and physical components. 20-sim is widely used for modeling complex multi-domain systems[3] and for the development of control systems.[4]
Developer(s) | Controllab Products B.V.[1] |
---|---|
Stable release | 4.6.2
/ October 2016 |
Written in | C++ and Smalltalk |
Operating system | Windows[2] |
License | Proprietary |
Website | http://www.20sim.com/ |
Use
20-sim supports four methods for modeling dynamic systems: iconic diagrams, block diagrams, bond graphs and equations. All these methods are allowed to be used in one model. The package has advanced support for bond graph modeling, making it well known in bond graph communities.[5]
For modeling physical systems, the package provides libraries for electrical systems, mechanical systems, hydraulics systems and thermal systems. For block diagrams, libraries comparable to those of Simulink, are provided. A feature of the software is the option to create models with differential equations and package them as block diagram elements or physical components.
20-sim models can be simulated using state of the art numerical integration methods. After checking and processing, models are directly converted into machine code, resulting in high speed simulations. Unlike Simulink, simulation results are shown in 20-sim in a separate window called the Simulator. The simulator is versatile: plots can be displayed horizontally and vertically as time and frequency based plots and 3D animations.
20-sim is self containing, i.e. no additional software is required and all toolboxes are included. Toolboxes are available for model building, time domain analysis, frequency domain analysis and controller design. To enable scripting it is necessary to install either Matlab, GNU Octave, or Python. The last is included as an optional feature in the 20-sim installer.
Reviews
Because of its extended support of bond graph modeling 20-sim is highly rated in the bond graph community. According to Borutzky [6] only "20-sim, MS1 and Symbols can be categorized as a fully integrated (multi-formalism) modeling and simulation environments especially supporting bond graphs".
Roddeck[7] compares several modeling and simulation tools like Simulink, Labview and 20-sim. Roddeck acknowledges the market leadership of Simulink but states that the advantage of 20-sim is the direct input of bond graphs in 20-sim and the availability of built-in tools for FFT-analysis and 3D mechanical modeling.
The book of J. Ledin [8] gives practical guidelines for modeling and simulation of dynamic systems. An entire chapter is spent on simulation tools. According to Ledin, "20-sim differs from other simulation tools like Simulink and VisSim in that it supports four methods for modeling dynamic systems: iconic diagrams, block diagrams, bond graphs and equations. This allows for example, the construction of electrical circuit simulations using standard symbols to represent components, such as op-amps and capacitors." A weak point, according to Ledin is the missing capability for distributed simulation in 20-sim.
Add-on products
20-sim offers tight integration with 20-sim 4C. Any 20-sim model can be exported as C-code to 20-sim 4C where it can be used for deployment on hardware. Typical use is the development of controllers for embedded software and the creation of "virtual plants" for use in hardware-in-the-loop simulators.[9] 20-sim can be controlled by scripting, allowing task automation and scenario building. Scripting is supported in Matlab or GNU Octave, and in Python (since v4.6).
Next to scripting, 20-sim has a tight connection with Matlab, GNU Octave and Simulink allowing the import and export of data on many levels. The export of 20-sim models as M-files or S-functions is the most prominent example.
History
20-sim is the redevelopment of the simulation software package TUTSIM,[10] which was developed at the Control Laboratory of the University of Twente. While TUTSIM was sold in the late 70's, research into modeling and simulation continued at the laboratory. A new program was developed as part of the Ph.D. project of Jan Broenink. The program was equipped with a graphical user interface and allowed the creation of models by bond graphs. The prototype name for this modeling and simulation package was CAMAS. While CAMAS was all built around bond graphs, a new prototype package called MAX was developed to investigated object oriented modeling techniques and modeling by iconic diagrams. After extensive testing, in August 1995 version 1.0 of the software was commercially released under the trade name 20-sim (Twente Sim). The trade name refers to the origin (University of Twente) of the package and the region (Twente) where it was made. The company Controllab Products was established to further develop and distribute the package.
Release history
- 1995: 20-sim 1.0 (first commercial release of the software)
- 1997: 20-sim 2.0 (C-code Generation)
- 1999: 20-sim 3.0 (New GUI)
- 2000: 20-sim 3.1 (Iconic Diagrams)
- 2002: 20-sim 3.2 (Wizards)
- 2002: 20-sim 3.3 (Frequency Domain)
- 2005: 20-sim 3.6 (3D Mechanics Toolbox)
- 2008: 20-sim 4.0 (New GUI)
- 2011: 20-sim 4.2 (Dynamic Error Budgeting)
- 2013: 20-sim 4.4 (Scripting)
- 2014: 20-sim 4.5 (Larger models)
- 2015: 20-sim 4.6 (FMI/FMU support, Python Scripting)
References
- Controllab Products B.V.
- 20-sim requirements
- Duindam, V.; Macchelli, A.; Stramigioli, S.; Bruyninckx, H. (2011). Modeling and Control of Complex Physical Systems. Springer. ISBN 978-3-642-03195-3.
- Broenink, J.F. (1999). "20-sim software for hierarchical bond-graph/block-diagram models". Simulation Practice and Theory. 7 (5–6): 481–492. doi:10.1016/s0928-4869(99)00018-x. ISSN 0928-4869.
- Delgado, M. (1999). "Use of MATLAB and 20-sim to simulate a flash separator". Simulation Practice and Theory. 7 (5–6): 515–530. doi:10.1016/s0928-4869(99)00016-6.
- Borutzky, W. (2011). Bond Graph Modelling of Engineering Systems. Springer. ISBN 978-1-4419-9367-0.
- Roddeck, Werner (2013). Modellbildung mit Bondgraphen. Springer. pp. 134–140. ISBN 978-3-8348-1747-1.
- Ledin, Jim (2001). Simulation Engineering, Build Better Embedded Systems Faster. CMP Books. pp. 241–283. ISBN 1-57820-080-6.
- ODIM Launch and Recovery System simulator (PDF) (Report). Norway. Feb 25, 2013.
- Beukeboom, J.J.A.J.; Van Dixhoorn, J.J.; Meerman, J.W. (1985). "Simulation of mixed bond graphs and block diagrams on personal computers using TUTSIM" (PDF). Journal of the Franklin Institute. 319 (1): 257–267. doi:10.1016/0016-0032(85)90079-1. Retrieved Nov 7, 2013.