What is new in 20-sim 4.6?

Navigation:  »No topics above this level«

What is new in 20-sim 4.6?

Previous pageReturn to chapter overviewNext page

General

20-sim 4.6 has been updated to support Microsoft Windows 10. While older versions of 20-sim will (mostly) work under Windows 10, 20-sim 4.6 has been specially developed and tested for this latest version of the Microsoft Windows family.

 

The following new major features have been added to 20-sim 4.6:

GUI look-and-feel now adapts to the Windows version dependent look-and-feel
FMI support: The Functional Mockup Interface (FMI) is a tool independent standard to support model exchange. 20-sim now supports exporting models as FMI FMU's.
Python Scripting: 20-sim support now scripting from an Python script. This means that you can now use Python to automate and control 20-sim next to the existing Octave/Matlab scripting support.
20-sim can be used to develop training simulators.

Editor

1.Gradient Fill of submodels is standard on. You can turn this off in the General Properties (click Tools - Options).
2.Version numbers can be defined for each 20-sim model. The version numbers can be shown in the model background image. Version numbers are also available as tokens during the C-code generation.
3.Use Ctrl + Mouse Wheel to zoom in and out.
4.20-sim now also supports the 64-bit version of Matlab for the exchange of data between 20-sim and Matlab. This applies to the domatlab, tomatlab, frommatlab functions and the Matlab buttons in the 20-sim GUI (e.g. the Linear System Editor)
5.Drawing closed curves has been improved.

Simulator

1.Using the C-code generation command, you can now export models using the FMI standard. Both version 1.0 and 2.0 of the FMI standard are supported.
2.The Variables Chooser allows you to show or hide knots.
3.Faster plot curve drawing on multi-core systems.

Language

1.A new function realtime is added. It can be used to check if the simulation runs slower or faster than the wall-clock time.
2.The bitshift operator now also supports right shift.

Library

1.Bond graph II-element added.
2.Double clicking a library model opens it in the editor.

3D Animation Toolbox

1.You can show plots and 3D animations in full screen.
2.Multiple 3D animations are drawn more efficiently resulting in higher frame rates.
3.You can show or hide individual objects by clicking the Solo or Hide option.
4.You can show the frame rate in a 3D Animation and set the frame rate to a maximum.
5.You can connect the transparency to a variable.

3D Mechanics Toolbox

1.Support of global parameters for inertia's and global parameters for joints with spring/dampers.
2.Support of flexibility in joints by overriding constraint settings.
3.Ctrl + Mouse Wheel to zoom in and out.

Scripting

1.Scripting from Python is now supported with similar functions as in Octave/Matlab.
2.MIMO linearization support added to xxsimLinearizeModel in Octave/Matlab.
3.New Octave/Matlab scripting functions:
oxxsimClose
oxxsimSavePlotAsBitmap
oxxsimStartSimulation
oxxsimStopSimulation
oxxsimIsSimulating
oxxsimCopyStatesToInitials
oxxsimOpenSimulator
oxxsimSetTimeout
oxxsimGetImplementations
oxxsimGetMemoryUsage
oxxsimGetPlotIDFromName
oxxsimGetPlotsFromWindow
oxxsimGetPlotWindowIDFromName
oxxsimGetPlotWindows
4.Support of Octave 4.0 (with GUI).
5.Scripting API documentation is now also accessible from the Help menu.

Bugfixes and Improvements

General

1.All open 20-sim windows will be closed when the Editor is closed.

Editor

1.When changing the colors of models directly in the Graph Editor this change are stored after saving the model.
2.Models cannot be placed any more outside the border and get out of view.
3.Line drawing can be stopped with the escape key and stops with right mouse button.
4.When removing a submodel implementation, it is first asked which implementation to remove.
5.Drag-drop of a submodel with one implementation does not ask anymore which implementation you want to select.
6.The Global Relations Editor is now also accessible from the Tools menu.

Simulator

1.Endless simulation does not call finalequations anymore.
2.Warning given by incorrect input of eye function.
3.The last selected code-generation path will now be remembered and stored in the model.

Code generation templates

1.Add support for XXRealtime() (ANSI-C version of the realtime function).
2.Slightly faster RungeKutta4 integration routine.
3.Added VS2015 solutions.
4.starttime and finishtime are not generated as hardcoded values anymore.

Library

1.Updated the icons of various sensor block to show a proper +/- pair after a rotation with 90 degrees.
2.Updated all library blocks with integral symbols to use the Unicode compatible Lucida Sans font now instead of SymbolProp. This allows proper HTML export for 20-sim drawings.