4.7.0 (build 8692, March 2, 2018)

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

You can now delete a submodel but keep the connected signals or ports with the Dissolve command.

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!

FMU export: You can now export a 20-sim model as an FMU with a variable step integration method (using VODE Adams).

FMU export is now part of the File - Export menu.

(Re-)drawing of large models in the Editor is faster.

In the Interface Editor use the Move Up and Move Down buttons to order the list of ports.

Drawing closed curves has been improved.

The Search box now also shows port names of graphical models.

Flat drawing style for new submodels. A shadow is no longer added by default.

The Interface Editor now as support for ordering ports.

"Edit Globals" added to the right-click menu.

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

In the Parameters Editor You can set initial values to zero with the Initials to Zero command.

Fixed: Selected item in the tree did not always correspond with the selected port

Fixed: Adding ports until the list is bigger than the window should show the scroll bar.

Fixed: When you create a new signal port and change it to output, the tree is not refreshed, so it seems that it is still an input

Fixed: Create a new signal port and change its name and keep the focus on the name field. Add another new port using the toolbar button. Sometimes, the new port is not automatically selected in the tree and the name of the previous port stays active.

Linear System Editor

Fixed: LSE showed chinese characters in the first node of the parameters list

3D Animation Editor

Fixed: crash on some PCs when adding a spring to the 3D-animation

3D Mechanics Editor

Fixed: Manual constraint joints could become automatically assigned

Processing

Fixed: Not all syntax errors from the Global Relations Editor are reported to the user

Fixed: Processing could fail for certain models when 'Optimize divisions' is enabled

Fixed: When pressing "Save", 20-sim tries to check the current submodel. This should not be done, since the current submodel may not be finished yet or even fail any model checks.

Feature: C/C++ code generation templates can now tell 20-sim which integration methods are supported by this template. This allows for adding support for variable step-size integration methods in future versions of the templates.

Fixed: C-code generation for string parameters with two backslashes generated three backslashes instead of four. Each backslash should be escaped separately.

Fixed: Global string parameters that are assigned outside the generated submodel were generated as empty strings.

Documentation

Getting Started manual: Improvement: various corrections and clarifications

Reference Manual: Fixed: function names in the tree should not start with a capital

Python Scripting: 20-sim supports now scripting from a 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

Gradient Fill of submodels is standard on. You can turn this off in the General Properties (click Tools - Options).

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.

Use Ctrl + Mouse Wheel to zoom in and out.

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)

Drawing closed curves has been improved.

Simulator

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.

The Variables Chooser allows you to show or hide knots.

Faster plot curve drawing on multi-core systems

Language

A new function realtime is added. It can be used to check if the simulation runs slower or faster than the wall-clock time.

4.4.0 (build 4262, 25 September 2013)

General Improvements

General: Scripting allows you to run tasks in 20-sim automatically using specialized scripting functions. With these functions you can open models, run simulations, change parameters, process the results and much more. You can run your scripts from Octave and Matlab.

General: The memory limit for 20-sim has been increased to 3 GB on 32-bit systems and 4 GB on 64-bit systems.

General: New units Apparent Power {VA}, Reactive Power {var} and Thermal Conductivity {W/K} and jerk {m/s3} have been added.

Editor: If a newer version of 20-sim is available on the 20-sim website, in the Editor automatically an update button will appear.

Equation Editor: Auto indenting has been added to the Equation Editor.

Equation Editor: Multi-line tab and multi-line untab has been added to the Equation Editor.

Graph Editor: Drag and drop of a 3D mechanics file (.3dm) into the Editor is now supported.

Equation Editor: The function linsolve allows a non-square matrix to be entered yielding a pseudoinverse.

Simulator: Support of High Resolution Export of plots.

Library: A centrifugal pump model has been added (Iconic Diagrams\Hydraulics\Pumps).

Library: A model to import data from a joystick has been added (Signal\Sources\Joystick).

Library: A model to import data from the keyboard has been added (Signal\Sources\Keyboard). An example model shows a scara robot driven by keyboard commands (Examples\2D Mechanics\ScaraRobotKeyboard).

Library: A model to test hydraulic valves has been added (Examples\Hydraulics\ValveTest).

Graph Editor: Background images did not show up under certain conditions

Simulator: some integration methods seemed to hang when using a resint under certain conditions

Simulator: toMatlab/fromMatlab used a '\' separator for hierachical names instead of the intended '.'

Toolbox: Neural Network toolbox could not open certain weigth files

4.3.2 (build 3752, 22 May 2013)

General Improvements

Equation Editor: The equation editor has now a built-in auto-complete function. Type a few characters and then press TAB. Now a menu pops up that shows all known words of declared variables, functions, keywords, etc that correspond with the typed characters.

Library: extended the spindle model with a new "Pitch" implementation.