2021-02


Modelica Association Newsletter, issued on 08 September 2021


Table of contents

Letter from the Board

Dear Modelica, FMI, SSP, DCP, eFMI interested,

the 14th International Modelica Conference is approaching, taking place Mo. Sept. 20 - Fr. Sept. 24, 2021. It is a free, virtual/online event, but you must register in order to participate. The local organizers are trying to make the conference quite interactive:

  • A presentation consists either of an uploaded video or a live talk. In any case, you can raise your hand (click the hand button in zoom), and a moderator moves you to the panel, typically in the last 5 minutes of every presentation slot. The people in the panel can talk to each other, while the rest of the audience is listening, so a discussion with the presenter is possible.

  • The breaks will be run using wonder.me - an app where you can move around in a virtual hall and when you come closer to people conversations with them open.

  • Gold sponsors have their own virtual booths where you can directly talk to them.

More practical information is available here. Besides the scientific presentations, the tutorials and the vendor presentations, let me highlight:

  • Sept. 20, 14:15-15:00 CEST: Keynote 1 from Viral Shah and Chris Rackauckas - New Horizons in Modeling and Simulation with Julia.
  • Sept. 23, 13:30-17:15 CEST: The Industrial Usage of FMI and Companion Standards SSP / DCP/ eFMI.
  • Sept. 24, 15:40-16:25 CEST: Keynote 2 from Michael Wetter - How can the Modelica community support the transition to decarbonized, grid-flexible buildings?

On May 10 and 11, a Modelica Association Strategy Meeting took place. As an outcome, the operation of the Modelica Association and the Modelica Association Projects shall be improved in the future.

If you have interesting news for the Modelica, FMI, SSP, DCP, eFMI communities, please follow the submission guidelines. The deadline for articles for the next newsletter is Fr. December 3, 2021.

Martin Otter on September 7, 2021

Chairperson of the Modelica Association

This article is provided by Martin Otter (Modelica Association)

Modelica Association

FMI news

fmi-logo

FMI Industrial User Meeting – Industrial Usage of FMI and Companion Standards SSP / DCP/ eFMI

The Modelica Association Project FMI invites you to the FMI Industrial User Meeting – Industrial Usage of FMI and Companion Standards SSP / DCP/ eFMI at the International Modelica Conference in Linköping, Sweden on Sept. 20-24 on Thursday 23.9.2021, 13:30-17:15.

For participation please register for the Modelica Conference (free)

Preliminary Agenda
  • Welcome, Overview on FMI / SSP / DCP / eFMI Standards (5 Min.)
  • Industrial user talks
    • Initial Steps in Deploying and Calibrating Power System Models on a Synchrophasor Data Cloud Platform using FMI (15 Min., Luigi Vanfretti, Giuseppe Laera, Marcelo de C. Fernandes, Chen Wang, Chetan Mishra and Kevin D. Jones)
    • FMI-based simulation workflows based on open source and commercial tools (15 Min., Christian Bertsch, Fabian Jansen, Andreas Babucke and Torsten Sommer)
    • Open Simulation Platform - Towards a maritime ecosystem for efficient co-simulation (15 Min., Lars Tandle Kylinngstad)
  • FMI3 development (Status, roadmap, layered standards) (15 Min., Andreas Junghanns)
  • Demo of FMI3 support in tool prototypes (60 Min.; a list of participating tools will be provided)
  • Short Break (10 Min.)
  • Status and outlook SSP Standard (5 Min, Jochen Köhler)
  • Industrial user talks
    • Use of SSP, FMI and OSI for Simulation-based Testing of an Automated Vehicle (15 Min., Jochen Koehler, Heinz Sachsenweger, Arun Das, Markus Deppe and Hans-Martin Heinkel)
    • Model-based development of a traction control unit with SSP and FMI (15 Min., Nicolas Ochoa Lleras, Hasan Esen, Pierre Mai, Klaus Mai and Hiroshi Tashiro)
    • SSP Traceability Demonstrator (15 Min., Dag Brück, Hans-Martin Heinkel, Peter Lobner and Pierre Mai)
  • Status and Outlook DCP Standard (15 Min., Martin Krammer)
  • Status and Outlook eFMI Standard (15 Min., Christoff Bürger)
  • General Q&A + End

This article is provided by MAP FMI

Vendor news

TLK DaVE - New version 2.3

tlk-dave logo

DaVE is a visualization and simulation environment that is suitable for both the post-processing and the online display of dynamic data. The current version 2.3 contains numerous innovations and improvements, of which only the most important are mentioned below.

  • Mollier-h-s diagram: With the h-s diagram, you now have another state diagram at hand with which information on specific enthalpy and entropy as well as temperature, pressure and vapor fraction can be displayed. The Mollier-h-s diagram is used - in addition to the p-h diagram - for example in power plant or refrigeration technology.
  • Time settings: New options for data connectors and the DaVE timeline allow for a targeted selection of the data to be handled. By specifying an offset for the time data, individual data connectors can be shifted relatively to each other. This makes it easier to match simulation results with measurement data, for example. The global setting of permissible minimum and maximum times makes it possible to work with slices of long data sources.
  • New options for instruments: Various new features are available for the instruments in DaVE. For example, vector plots of TIL components can be created very easily via a new automatic feature. New options - such as the definition of decimal character to be used or the autoscaling of plot axes - allow changing the graphical display to fit the individual needs.
  • DaVE-LabVIEW-Interface: The new version of the interface between DaVE and LabVIEW simplifies the data transfer from LabVIEW to DaVE. Any visualizations such as state diagrams, line diagrams and RI schematics with current states can be continuously adapted during measurement operation without changing the LabVIEW measurement program. During the development of the interface, special attention was paid to simple integration into existing LabVIEW programs. Experiences from our in-house measuring operation have also been incorporated in this process.

For further information see www.tlk-thermo.com, download the DaVE presentation or contact us at dave@tlk-thermo.com.

This article is provided by Roland Kossel TLK-Thermo GmbH

Simcenter Webapp Server 2021.1 released

Siemens Digital Industries Software is proud to announce the recent release of Simcenter Webapp Server 2021.1.

As a reminder Simcenter Webapp Server is Siemens solution to create Webapps from simulation models in one click without writing a single line of code. Simcenter Webapp Server is based on Siemens-owned Mendix technologies (platform for web-based low code application development). Simcenter Webapp Server supports natively Simcenter Amesim models as well as third party simulation models (e.g. Modelica) through the native support of FMUs.

We can highlight the following new key features:

  • A new Simcenter Amesim desktop App to upload your model directly from Simcenter Amesim
  • Model consumers can use the unit system they are used to independently of the unit system used by the model owner
  • Results comparison between several runs in the user-defined results layout
  • New widgets to document and fully customize a Webapp without writing a single line of code
  • Model consumers can now report any issues with a Webapp directly to the model owner within the web interface

Simcenter Webapp Server application example

For more information on Simcenter Webapp Server, please visit our website.

This article is provided by Anthony Domi (Siemens Digital Industries Software)

Simcenter ROM Builder 2021.1 released

With the recent release of Simcenter Amesim 2021.1, Siemens Digital Industries Software
has introduced a new product, called Simcenter ROM Builder, that can typically be leveraged as a powerful companion tool to Simcenter Amesim.

Introducing the Simcenter ROM Builder

The ROM Builder is a general-purpose model order reduction tool. It enables creating and exporting Reduced Order Models (ROMs) from various sources of data, including simulation results and measurements. This first version is distributed with Simcenter Amesim but is an independent product. It can be used to extend Simcenter Amesim powerful physical modeling capabilities with advanced model order reduction techniques. It represents a first step towards the deployment of highly portable lightweight but accurate representations of physical models — executable digital twins — to a wide variety of targets (e.g. IIoT, Edge Computing or Cloud platforms), serving various kinds of simulation contexts and purposes. Reduced order models can be exported as 2.0 Functional Mock-up Units (FMUs) complying with most of the advanced capabilities of the standard and providing the complete standalone C source code.

Among the benefits of the model order reduction offered by the ROM Builder, one can mention:

  • Model simplification, as a means to increase productivity by dealing with reusable fast-running models of limited complexity. Such models can be used
    for control synthesis and validation, or as predictive models inside Model Predictive Controllers (MPC) or Virtual Sensors.
  • Simulation speed-up: reduced models can for instance replace some participant models within large co-simulations, which helps reduce the overall CPU time.
  • Optimization speed-up: promising regions of the design space can be quickly identified during a first exploration phase while the results can be refined on the original models.
  • Real-time capability: reduced order models can help comply with deterministic numbers of iterations (e.g., fixed-step solvers) and simulations that run faster than the wall clock time.
  • Embedded models / Hardware-in-the-Loop: reduced order models can be exported to a wide variety of hardware systems including edge computing platforms.
  • IP protection: a reduced model is a functional, mathematical representation of a model with no direct exposure of know-how or physical equations.

Please take a look at this first “HowTo” video to discover the capabilities of the Simcenter ROM Builder. More will come in the forthcoming 2021.2 release. Stay tuned.

For more information on Simcenter Amesim and on the Simcenter ROM Builder, please visit our website.

Simcenter Amesim 2021.1 released

Siemens Digital Industries Software is proud to announce the recent release of Simcenter Amesim 2021.1, as part of its system simulation solutions. Among the key features introduced in this release, we can highlight the Modelica related improvements below.

Modelica Editor 2021.1

Modelica Editor is an integrated development application dedicated to editing Modelica code. More than a tool to be used during the design and modeling phase of a Modelica model, Modelica Editor allows you to generate bridges between the acausal world of Modelica and the causal environment of Simcenter Amesim.

The improvements introduced in Modelica Editor 2021.1 since the last release are the following:

  • Modelica Compiler (Modelon’s Optimica Compiler Toolkit) upgraded to version 1.24
  • Semantic checker added in the toolbar to perform a syntax and symbolic analysis of the active model and ensure the balance between the equations and variables
  • New Modelica package providing robust interfaces between the MSL fluid standard connectors and the Thermal Hydraulic submodels of Simcenter Amesim

This new Modelica package contains 2 different interfaces to consider the causalities of the Thermal Hydraulic submodels. With these interfaces, it is now possible to connect for instance a Modelica-based heat exchanger to a Simcenter Amesim native closed loop cooling system.

Hybrid modelling example

And thanks to the media property assistant provided in the Thermal Hydraulic library, the media used in Simcenter Amesim can be adjusted according to the properties described in Modelica, thus obtaining continuous thermodynamic properties between both worlds.

For more information on Simcenter Amesim, please visit our website.

OpenModelica 1.18.0 has been released

OMC logo

The Open Source Modelica Consortium is happy to announce the release of version 1.18.0 of the OpenModelica tool suite, available for Windows, Linux, and MacOS through a Linux virtual machine.

What’s new

  • Further improved new compiler frontend, it can now flatten 100% of the Modelica Standard Library 3.2.3 and 4.0.0, as well as 100% of many open source Modelica libraries such as Chemical, HelmholtzMedia, IBPSA, ModelicaTest, OpenIPSL, PNLib, PhotoVoltaics, PlanarMechanics, PowerGrids, PowerSysPro, PowerSystems, SystemDynamics, TAeZoSysPro, ThermofluidStream.
  • The spatialDistribution() operator is now supported by the default C simulation runtime.
  • Much improved C++ simulation runtime now uses the new compiler frontend.
  • New features in the the OMEdit GUI plot: automatic selection of appropriate unit prefixes, toggling the sign of variables, improved handling of large and high-resolution screens.
  • Data reconciliation capabilities integrated in the OMEdit GUI.
  • Improved FMI 2.0 export and FMI/SSP import in the OMSimulator tool.
  • Many bug fixes.

Further info

For more information, see openmodelica.org and the detailed 1.18.0 Release Notes.

This article is provided by Francesco Casella (OSMC)

Modelon Impact 2021.2 release

Modelon impact

Modelon released Modelon Impact 2021.2 in June. This release delivered significant improvements, critical features, and library updates for new and current subscribers. View the release update here.

Announcing FMI.jl & FMIFlux.jl


The simulation ecosystem of the Julia programming language is rapidly growing. In order to bridge the gap between industrial use cases and methods and algorithms available in Julia, FMI.jl (https://github.com/ThummeTo/FMI.jl) is released.
FMI.jl aims at the integration of FMI (https://fmi-standard.org/) into the Julia ecosystem by providing the possibility to load, parameterize and simulate FMUs.


Combining physical and state-of-the-art data-driven modeling inside a single simulation tool used in industry is currently not possible in a convenient fashion. An extension to FMI.jl called FMIFlux.jl (https://github.com/ThummeTo/FMIFlux.jl) allows the integration of FMUs into neural network topologies to obtain a NeuralFMU.
This structural combination of a black-box model commonly used in industry and a data-driven machine learning model combines the different advantages of both modeling approaches in a single Julia-based development environment. This allows for the usage of advanced data driven modeling techniques for physical effects that are difficult to model based on only first principles.

This article is provided by Lars Mikelsons

Announcing Dymola 2022x

plot-discrete

We are pleased to announce that Dymola 2022x will be released later this year.

  • A new user interface is available for Dymola’s static and dynamic (transient) steady-state solvers, greatly simplifying this task. Options to sweep parameters, compare solutions and set tolerances are available.

  • A new command enables visualization of components discretized in one dimension, for example to show the temperature distribution in a pipe. The animation slider is used to show the discretization at different times of the simulation.

  • Dymola 2022x also supports basic SSP import.

This article is provided by Dag Brück, Dassault Systèmes

Education news

An E-book (Modelica by Application: Power Systems V1.0)

Significant updates include:

  • Major content and formatting improvment
  • A new chapter with the title “A Short History of System Modeling”
  • Most chapters are ended with topic-related open questions
Intro of Chapter “A Short history of System Modeling”

In the previous chapter, we have gone from classical problems in modeling applications of power systems to modern challenging aspects. Analogously, in this and the next chapter, we start from the early modern age of modeling and simulation approaches up to the modeling concepts behind Modelica, leaving the reader to conclude himself after reading this (e-)book, whether and how far both lines are ultimately converging together.

Outline and Ordering details

View the project website on github

Mathemodica logo

This article is provided by Atiyah Elsheikh (Mathemodica.com)

Claytex technical blog

Claytex logo

Claytex publishes a technical blog covering all things Modelica and Dymola.

The Analytical Jacobian

Dymola is a tool built around advanced symbolic manipulation. Many solver algorithms and numerical methods are / can be utilized to solve the models created within Dymola. Many of the algorithms and numerical methods have substantial impact on the accuracy and speed of the resulting simulations. Jacobian matrices play a key part in much of this. Read the full article here

Checking derivatives by using the plotting features

This post looks at a simple way to check that derivatives of a function are correct and in the process explores some of the different plotting features of Dymola. Read the full article here

Dymola Library Concealment – How to, and why?

Dymola and Modelica make the distribution and deployment of simulation models a relatively simple process. There is often some reservation by model developers concerning how much of a model they may want to reveal to the end users. There are various reasons the developer may want to conceal the model content, but it generally revolves around protection of their intellectual property. Read the full article here

This article is provided by Mahdieh Mehrabi (Claytex)

Modelon News and Blog

Case Study: ENGIE Collaborates With Modelon to Build Solar PV Plant Digital Twin

Modelon pic

Learn how ENGIE successfully collaborated with Modelon to develop a digital twin for predictive maintenance - to monitor performance, anticipate failures, and schedule maintenance. Download the case study here.

Customer Story: SUBARU implements Model-Based Development With Help From Modelon

Modelon pic

Learn how SUBARU’s Electrified Drivetrain Development team successfully implemented model-based development methodologies. Read the full interview here.

Modelon Blog: More Electric Aircraft

Modelon pic

This blog introduces the More Electric Aircraft concept and how modeling and simulation are shaping the way vehicle sub-systems are designed and integrated. Read more here.

Modelon Blog: Aircraft Landing Gear Design

Modelon pic

This blog focuses on building and designing aircraft landing gear using Modelon Impact and the integrated Aircraft Dynamics Library. Read more here.

Modelon Blog: Multi-Body Vehicle Dynamics

Modelon pic

This blog focuses on the modeling and simulation of chassis in Modelon Impact. Modelon Impact’s steady-state solver and multi-execution capabilities make it possible to achieve steady-state analysis with speed and precision for multi-body vehicle dynamics. Read more here.