20-sim model of a hexapod
|Developer(s)||Controllab Products B.V.|
|Stable release||4.4.1 / November 2013|
|Written in||C++ and Smalltalk|
20-sim is commercial modeling and simulation program for multidomain 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 and the development of control systems.
20-sim supports four methods for modeling dynamic systems: iconic diagrams, block diagrams, bond graphs and equations and allows all of these methods to be used in one model. The package has advanced support for bond graph modeling, making it well known in bond graph communities.  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.
Because of its extended support of bond graph modeling 20-sim is highly rated in the bond graph community. According to Borutzky  only "20-sim, MS1 and Symbols can be categorized as a fully integrated (multi-formalism) modeling and simulation environments especially supporting bond graphs".
Roddeck 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 mechnical modeling.
The book of J. Ledin  gives practical guidelines for modeling and simulation of dynamc 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.
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. 20-sim can be controlled by scripting, allowing task automation and scenario building. Scripts can be run as m-files from Matlab or GNU Octave.
Next to scripting, 20-sim has a tight connection with Matlab 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.
20-sim is the redevelopment of the simulation software package TUTSIM, 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) were it was made. The company Controllab Products was established to further develop and distribute the pakage.
- 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 Budgetting)
- 2013: 20-sim 4.4 (Scripting)
- List of computer simulation software
- Simulation language
- 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. 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.
- 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 (Report). Norway. Febr 25, 2013. http://www.20sim4c.com/images/stories/Factsheets/Factsheet%20Rolls-Royce%20Marine.pdf.
- 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". Journal of the Franklin Institute 319 (1): 257–267. Retrieved Nov 7, 2013.