20-sim 4.6.4

20-sim 4.6.4 has been released. This build is a maintenance release with the following fixes:

4.6.4 (build 8004, July 26, 2017)

3D Animation

  • Fixed: Range issue in Spot Angle.

Code Generation

  • Fixed: Directly mapping to an R(ate)-variable if a submodel takes the integral/previous of an input.
  • Fixed: Initial equations in a FMU cannot influence initial states.
  • Fixed: Crash when running a generated FMU in a FMI 1.0 master simulator.
  • Fixed: FMU 2.0 Export: Table2D implementation for source code FMU does not work on Linux/MacOSX

Documentation

  • Reference Manual: Fixed: Unclear statement about 'while do' and 'reapeat until'.
  • Reference Manual: Fixed: Orientation of Euler angles in 3D animation window (ZXZ instead of XYZ).

Simulator

  • Fixed: Not saving a model when closing 20-sim during a simulation.
  • Fixed: A issue when writing a data file of multiple run results (parameter sweep).
  • Fixed: A issue that unnamed nodes can generate instructions for a continuous time block instead of the corresponding discrete block.
  • Fixed: A crash during a multiple run simulation with parameter sweep.

20-sim 4.6.3

20-sim 4.6.3 has been released. This build is a maintenance release with the following fixes:

4.6.3 (build 7733, March, 13, 2017)

Editor

  • Fixed: do not rescale rectangles in an icon when the 'name' text is not inside the rectangle.
  • Improvement: rectangle rescale should take into account the grid.
  • Fixed: SVG-related memory leakage.
  • Fixed: Exception when connecting a single port to a multi-port bond element after replacing a multi-bond junction by a single-bond switching junction.
  • Fixed: Library blocks with masks could trigger an isRelease exception.
  • Improvement: Model > Processing > Warnings/Errors > "Port is not used" renamed to "Power port is not used" since it does not apply for signal ports.
  • Motion Profile Editor: Fixed: Help button was unavailable.
  • Fixed: Tooltip for global parameters did not show a descriptive comment when using them in other submodels
  • Fixed: Filter Editor did not open when inserted after a search action for this library block

Icon Editor

  • Improvement: better icon alignment to grid

Interface Editor

  • Feature: Add up/down buttons for rearranging the input and output ports
  • 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.

Library

  • Fixed: Signal Mux block moves when switching implementations
  • Fixed: Signal Demux block moves when switching implementations

Simulator

  • EulerAngles DLL: Fixed: EulYXZsFromRotationMatrix was accidentally calculating relative
  • Fixed: Unit information in the simulator is lost when a model is opened ans saved without simulating
  • Fixed: Disable certain menu options that are not available during simulation

Scripting

  • Fixed: prevent changing submodel implementations during simulation
  • Fixed: A model in a path that contains a '&' could not be opened using scripting
  • Improvement: Accept also forward slashes in the xxsimSaveModel function
  • Python: Fixed: set_implementations() does not accept a dict under Python 3.x
  • Python: Fixed: various scripting issues
  • Python: added get_version() function (returns the 20-sim version)
  • Octave: added: xxsimGetVersion() function (returns the 20-sim version)
  • Octave: added support for Octave 4.2.0 (Windows, 32-bit only)

C-code generation

  • 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
  • Reference Manual: Removed: reference to Windows XP and the X-file format (not supported anymore)
  • Documentation generation: Fixed: SVG files generated by the XML documentation generation option could not be opened in other tools due to namespace issues

New! 20-sim 4.6

20-sim 4.6 has been released on December 9, 2015. Read all about this new version here.

20-sim 4.5.4

20-sim 4.5.4 has been released. This build is a maintenance release with the following fixes:

4.5.4 (build 6171, 28 September 2015)

Fixes

  • Editor: improved rendering of background images with transparency
  • C-Code generation: Matrix code generation error with parentheses: c = (a + b)
  • C++ Code generation: (CPPclass template) fix compile error when using XXLinsolve
  • Simulator: right-mouse plot dragging plot does not release when the mouse pointer is outside the plot boundary
  • Linear System Editor: fixed the print button behaviour

Breadcrumbs

You are here: Home Support News