What is new in 20-sim 4.7?

Navigation:  »No topics above this level«

What is new in 20-sim 4.7?

Previous pageReturn to chapter overviewNext page

General

20-sim 4.7 has been updated to support the Microsoft Windows 10 Creators Update and Fall Creators Update. While older versions of 20-sim will (mostly) work under Windows 10, 20-sim 4.7 has been specially developed and tested for latest releases of Windows 10.
We have continued our efforts to support the FMI standard for co-simulation.

Editor

1.You can now delete a submodel but keep the connected signals or ports with the Dissolve command.
2.FMU import: You can now import models from other programs (supporting FMI 2.0 co-simulation export) into 20-sim. Simply drag and drop the model (with the extension .fmu) into 20-sim and connect!
3.FMU export: You can now export a 20-sim model as an FMU with a variable step integration method (using VODE Adams).
4.FMU export is now part of the File - Export menu.
5.Re-drawing of large models in the Editor is faster.
6.In the Interface Editor use the Move Up and Move Down buttons to order the list of ports.
7.Drawing closed curves has been improved.
8.The Search box now also shows port names of graphical models.
9.Flat drawing style for new submodels. A shadow is no longer added by default.
10.The Interface Editor now as support for ordering ports
11."Edit Globals" added to the right-click menu.
12.Connecting boolean signals now allows for inserting And/Or/Xor/Nand/Nor blocks similator to the PlusMinus/MultiplyDivide blocks for real and integer signals.

Simulator

1.In the Parameters Editor You can set initial values to zero with the Initials to Zero command.
2.In plots you can now select parameters to be displayed.
3.Faster plotting for fixed step-size simulations.
4.The Variable Chooser dialog for selecting plot variables now also shows parameters.
5.It is now possible to copy and paste curves from one plot to another.
6.It is now possible to copy and paste plots from one window to another.
7.Real-time simulation timer is now more accurate.

Language

1.The function settoolsetting has been added to set specific simulation options from within the model during simulation.
2.Type casting is supported to prevent warnings when converting data types.

Library

1.You can now play a sound during a simulation or couple a sound to a specific event generated during the simulation.
2.A hydraulic line model has been added.
3.Most of the valves and pumps in the Hydraulics library now have parasitic volumes to minimize algebraic loops and speed up simulations of hydraulic models.
4.The Joystick library block and example model are updated to support multiple joysticks.

3D Animation Toolbox

1.Import of large binary STL-files in the 3D Animation toolbox is faster.

3D Mechanics Toolbox

1.The center of mass is shown when you select a body.

Real Time Toolbox

1.All code generation templates:
oSupport for the Event, EventUp/EventDown and TimeEvent functionality of 20-sim.
oGenerate more efficient code for matrix manipulations.
oExtra code filtering to generate only the code necessary for the selected model
oVisual Studio 2017 Solution and build support added
2.Arduino support: the Arduino code generation template now supports all AVR and ARM boards that are supported by the Arduino IDE and not only the Arduino Uno and Due.
3.FMU 1.0/2.0 export for 20-sim submodel:
oMulti-instance support
oAllow parameter updates during co-simulation
oVode-Adams integration method support
ofmi2GetFMUstate/fmi2SetFMUstate support
oMany small improvements & compatibility fixes

Scripting

1.Support for Octave 4.2.0 / 4.2.1 for Windows (32-bit and 64-bit)
2.Allow set/reset of the endless simulation option from scripting using xxsimSetSettings (Octave) / set_settings (Python)
3.New Octave/Matlab scripting functions:
oxxsimAddPlotWindow
oxxsimAddPlotToWindow
oxxsimAddCurveToPlot
oxxsimGetCurveIDFromName
oxxsimGetCurvesFromPlot
oxxsimGetSubmodelProperties
oxxsimHideCurve
oxxsimHidePlot
oxxsimHidePlotWindow
oxxsimRemoveCurveFromPlot
oxxsimRemovePlotFromWindow
oxxsimReplaceSubmodel
oxxsimSaveSubmodel
oxxsimGotoSubmodel
oxxsimGetWindowSize
oxxsimSetWindowSize
4.New Python scripting functions:
oadd_plot_window
oadd_plot_to_window
oadd_curve_to_plot
oget_curves_from_plot
ohide_curve
ohide_plot
ohide_plot_window
oremove_curve_from_plot
oremove_plot_from_window
oremove_plot_window
oreplace_submodel
osave_submodel
ogoto_submodel
oget_submodel_properties
oget_window_size
oset_window_size

Installer

Keep C-code, M-code and library path settings on 20-sim update

Bugfixes and Improvements

In addition to the above mentioned items, 20-sim 4.7 received more than 200 bugfixes and minor improvements since 20-sim 4.6.4. See the 20-sim website for the full list of changes.