Table of contents
- Letter from the Board
- Related projects
- Vendor news
- News from libraries
- Education news
Letter from the Board
Dear Modelica, FMI, SSP, DCP, eFMI interested,
the International Modelica Conference will take place on Mo. Sept. 20 - Fr. Sept. 24, 2021. The conference is a pure virtual/online conference. The conference is free, but you must register in order to participate. The conference will take place partially in the morning and partially in the afternoon with respect to the CET time zone, to give people from different time zones the possibility to participate. The call-for-papers page is open and you are encouraged to submit full scientific papers, extended abstracts for industrial user presentations and/or proposals for tutorials and vendor sessions. The industrial user presentations should be related to existing or planned Modelica Association standards (Modelica language, FMI, SSP, DCP, eFMI). Final deadline for scientific papers submissions is April 26, 2021 and for industrial user presentations June 15, 2021. Note, the conference will be financed solely via sponsoring. So, please consider to contribute.
The new Modelica Association Project eFMI (FMI for embedded systems) has been accepted by the Modelica Association members. This exciting new project is orthogonal to FMI, by standardizing various interfaces for tool chains to transform physics-based models (say, a Modelica model) to production code on embedded systems, in particular on automotive electronic control units. An alpha release of eFMI was developed in the ITEA3 project EMPHYSIS, together with 13 tool prototypes. The tool chains have been tested with 200 MISRA-C compliant C-Codes generated from 40 Modelica/Amesim models and evaluated with 11 industrial use cases. Once eFMI is released and eFMI compliant tools are available, there will be the great opportunity to significantly reduce cost and time for the software development of advanced, physics-based control and diagnosis functions on embedded devices. More details are given in the eFMI article below.
The Modelica Association Contributor License Agreement is now publicly on GitHub in markdown format. The release contains the pdf-version that was automatically generated from the markdown version. In case, you think improvements/changes are needed, submit an issue or pull request.
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. August 13, 2021.
Martin Otter on April 17, 2021
Chairperson of the Modelica Association
This article is provided by Martin Otter (Modelica Association)
MAP eFMI Kickoff
MAP eFMI Launched
The Modelica Association project Functional Mock-up Interface for embedded systems (MAP eFMI) has been officially launched. Its mission is to publish, maintain, further improve and promote the eFMI standard, a new physics modeling to embedded software bridge successfully developed and tested in the now finished ITEA3 research project EMPHYSIS.
An overview of EMPHYSIS results, developed tooling, an alpha draft of the eFMI standard and an example eFMU can be found on the EMPHYSIS webpage; it also provides a comprehensive set of final review slides, motivating eFMI and summarizing the tooling maturity and demonstrators achieved in the EMPHYSIS project.
Within the next months, the final eFMI specification, promotion material and official Modelica library with test scenarios for crosschecking eFMI tooling will be released by MAP eFMI under the umbrella of the Modelica GitHub group and its new team MAP-eFMI.
MAP eFMI has eleven founding members, all experienced from the EMPHYSIS project, convinced of the future impact of the eFMI standard and obliged to contribute to, and direct, its future development.
The steering Committee members are (in alphabetic order): Dassault Systèmes, DLR-SR, dSPACE GmbH, ETAS GmbH, ESI ITI GmbH, Modelon AB, Robert Bosch GmbH.
The Advisory Committee members are (in alphabetic order): Elektronische Fahrwerksysteme GmbH, Open Source Modelica Consortium, PikeTec GmbH, Siemens Digital Industries Software.
Project leader: Christoff Bürger (Christoff.Buerger@3ds.com)
Deputy project leader: Hubertus Tummescheit (Hubertus.Tummescheit@modelon.com)
Call for Members
The project is open for further membership applications. If you think your organization should be part of standardizing and leveraging on the physics modeling to embedded software bridge of the Modelica Association, please contact the project leader or deputy project leader.
In any case, check the eFMI overview slides!
This article is provided by Christoff Bürger (Dassault Systèmes)
FMI 3.0beta.1 pre-release
FMI 3.0beta.1 pre-release
The FMI Steering Committee has decided to enter the beta phase of the FMI 3.0 development. This reflects the stabilization of the FMI 3.0 API and schema files in the alpha phase. Tool vendors are encouraged to start or intensify prototyping of FMI 3.0 support now. The FMI 3.0beta.1 pre-release is available here.
This article is provided by MAP FMI
OpenModelica 1.17.0 released
We are happy to announce that OpenModelica 1.17.0 was released on 23 March 2021.
After three years of development work, the new frontend is now used by default by all the tools of the OpenModelica suite, providing faster code generation time and improved coverage of the Modelica language features.
Improved user experience under Windows
The Windows version of the OMEdit GUI was substantially improved in terms of graphics rendering and GUI responsiveness. The use of clang instead of gcc to compile C code also provides much shorter compilation time of models.
Support of MSL 4.0.0
OpenModelica and OMEdit now support Modelica Standard Library 3.2.3 and 4.0.0. There are currently two main limitations with MSL 4.0.0: clocked components are still not fully reliable, and automatic conversion scripts are not yet available. We plan to resolve these two issues with the next release 1.18.0, due this fall.
This article is provided by Francesco Casella
Modelon Impact 2021.0 Release
Modelon is pleased to announce the release of Modelon Impact 2021.0. This release delivers significant improvements and critical features that are accessible to current and new subscribers. View the release here. For documentation and installation support, contact our team.
This article is provided by Kenzie Maurice (Modelon)
Announcing Dymola 2022
We are delighted to announce that Dymola 2022 will be available in May 2021.
Dymola 2022 supports the most up-to-date specifications, the Modelica language 3.5 and the Modelica Standard Library 4.0.
When exporting FMUs from Dymola, it is now possible to select individually which variables or parameters should be exposed to the outside. When importing an FMU it is also possible to select which variables will be exposed in the Modelica model.
The maximum runtime for a simulation can be set. This will abort any run-away simulation due to slow convergence or incorrect external code. Steady-state initialization has been improved for common models, and there is a new mode to terminate dynamic simulation before the stop time if steady state has been reached.
Plotting support has been extended with bar graphs and area plots (filling the area under the curve). It is possible to open an external file with PNG, SVG or active HTML content inside Dymola; the image shows a plot generated in Python with plotly, which is active and allows zooming.
Dymola 2022 supports compilation of generated C code using WSL (Windows Subsystem for Linux). Installing Microsoft’s WSL allows installation of a Linux operating system and gives access to its compilers directly from the Dymola session under Windows. Cross-compilation of code facilitates FMUs containing both Windows and Linux binaries.
Running Dymola for Linux natively under WSL is also possible, using a Remote Desktop connection.
This article is provided by Dag Brück (Dassault Systemes)
News from libraries
TLK TIL Suite - New version 3.10.0
The TIL Suite is a comprehensive Modelica library for stationary and transient simulations of thermodynamic systems. In April the TIL Suite 3.10.0 will be released with the following improvements:
- TIL, TILMedia and add-on libraries are compatible with Modelica Standard Library 4.0.0
- In cross-flow heat exchangers with moist air, inhomogeneous flow due to e.g. water condensation or icing can be considered
- Some pressure drop and heat transfer correlations have been numerically improved and become more robust
- In TIL, many summary expansions and more consistent naming have been made. This requires an automatic conversion to be performed during the model upgrade to TIL 3.10 & Modelica 4
Besides the TIL release the following models are available in add-on packages:
- Hydrogen refueling systems with a detailed vehicle pressure vessel type III or type IV
- Hot water tanks as in domestic buildings for heating and hot water supply
This article is provided by Ingo Frohböse TLK-Thermo GmbH
SimTek Single Phase Traction Library - New version 1.0
Single Phase Traction Library is a Modelica-based library for high power one phase AC-DC electrical conversion and electrical traction at low-speed switching. The library supports modeling all kinds of stationary and mobile applications. This includes trains and road vehicles with electrical catenaries, such as trolley trucks, and stationary bidirectional AC to DC converters as used for DC sub-distribution stations. The library enhances the Modelica world by detailed and averaged modeling of bidirectional AC/DC converters. The spectrum of components includes:
- one-phase AC to DC controllers, including three control concepts based on detailed switching and one simplified time-averaged controller,
- one-phase AC/DC active rectifier, detailed switching, and time-averaged one-phase power distribution modeling (overhead line),
- test scenarios for power offtake, including monitors for harmonic testing,
- demonstration for well-to-wheel modeling (detailed switching and time-averaged),
- single component test cases.
Contact: Aiguo Xu.
This article is provided by Aiguo Xu (SimTek Co., Ltd.)
SimTek Aircraft Electrical System Library - New version 1.0
“Aircraft Electrical System” is a Modelica-based library for the simulation of onboard electrical networks. The library enhances the Modelica world by flexible and detailed modeling of large power networks.
- Easy definition of electrical network loads including power per flight phase, bus allocation on AC and DC buses, ATA chapter, wiring, and many more,
- First tabular and graphical analysis of the loading and generator balancing,
- Transfer of the tabular load definition into a Modelica database,
- A database fed modeling framework of the electrical network based on generic components for power generation, conversion, and consumption,
- Library of architectures and components for modeling of the onboard electrical network.
- Test examples, including a demonstration using a generic two engine long-range transport aircraft architecture. Usage is focused on, but not limited to, aircraft, and can be adapted for any type of stationary and mobile power system.
Contact: Aiguo Xu.
This article is provided by Aiguo Xu (SimTek Co., Ltd.)
New from Modelon Blog
Battery Modeling: Predicting the Effects of Aging on Lithium-Ion Battery Performance in EVs
Rimac Automobili uses the Modelon Electrification Library for accurate battery modeling. Learn more here.
Steady State and Dynamic Simulation: What is the Difference?
This blog post explains the differences and simplifies the topic of steady state vs dynamic simulation. Learn more here.
Multibody Vehicle Dynamics: Efficient Suspension Design in Modelon Impact
Modelon Impact’s Vehicle Dynamics Library, steady-state solver, and multi-execution capabilities make it possible to design and analyze multibody vehicle suspension systems. Learn more here.
This article is provided by Kenzie Maurice (Modelon)
An E-book (Modelica by Application – Power Systems V0.3)
The Modelica langauge has clearly attracted a portion of the power system modeling community. Every year there are dozens of works in Modelica addressing modern aspects in power system modeling applications. These applications are facilitated by great capabilities and potentials of the Modelica language. Unfortunately, the majority of interested parties and individuals won’t be aware about all such conducted works. Thus, there is always an increasing demand on an educational community-driven up-to-date (e-)book that gathers these works in a well-organized and an entertaining manner.
First release v1.0
To appear on the 1st of September 2021
The book is currenlty in a good shape, majorly complete up to few subsections. Actual outline can be always accessed here.
Scope of readers
This book serves as a comprehensive but a compact guideline for any
- Power system modeler desiring a power-system oriented introduction to the Modelica language starting from the big picture up to tiniest modeling implementation details
- Modelicans aiming at a quick understanding of the potentials of the Modelica langauge for modern challenging aspects of power system modeling applications
Features of the first version V1.0:
- Available both for free and
- for as-much-as-you-think=this-book-deserves (as encouragement for supporting similar future initiatives)
- Hopefully to be actualized on a regular basis
- To enable arbitrary but serious, valuable and concise contributions from interested individuals and parties
Pre-order version 1.0 or Get actual version & Sponsorship
More detais are on the project website on github
This article is provided by Atiyah Elsheikh (Mathemodica.com)
Claytex technical blog
Claytex publishes a technical blog covering all things Modelica and Dymola.
Trajectory File – what is it? Dissecting a Dymola result file.
Trajectory file is the result file format of Modelica. At first glance, it appears to be a standard .mat file. If you have ever tried to open it, then you will have seen that it is not! Results data is stored in a logical, if not immediately intuitive, way. We’ll take a closer look at what each element of the trajectory file is, and what they mean in this blog post. Read the complete article here
Load or Open? Save All, Save or Save Total?
This blog post seeks to clear your doubts on managing libraries and models. When should we Load or Open a library? When should we use Save All, Save or Save Total? Using the right option for what you are wanting to achieve can save you and other colleagues and developers a great deal of time. Read the complete article here
Working with the Working Directory?
Like many programs, Dymola makes use of a working directory on your computer. Dynamically associated with Dymola, it acts as a location to write files required by Dymola. By virtue of being dynamically linked to Dymola, the working directory is very much a living part of the Dymola process. Therefore, having a solid understanding of how Dymola utilizes the working directory helps us while working with Dymola. We’ll cover both how Dymola uses the working directory and some recommended practices for users. I will also highlight some potential pitfalls and quirks of the Dymola working directory and discuss them as they arise. Read the complete article here
This article is provided by Mahdieh Mehrabi (Claytex)