2023-02


Modelica Association Newsletter, issued on 10 July 2020


Modelica newsletter 2023-02 logo

Table of contents

Letter from the Board

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

The International Modelica Conference 2023 will take place Mo. Oct. 9 - Wed. Oct. 11, 2023, in Aachen, Germany, as a face-to-face conference. The submitted papers and industrial user presentations are currently under review.
Please note that the early bird registration deadline with reduced fees is the 11th of August.
There is still the possibility to apply for sponsorship and have a booth at the conference.
For further information, contact mc15@eonerc.rwth-aachen.de.
If you are interested to organize the next International Modelica Conference in 2025, please contact the Modelica Association Board.

Version 3.6 of the Modelica Language was released. It contains new features such as multilingual descriptions, selective model extension, removing modifiers, and 100+ minor improvements. For all the details see the release notes.

Article FMI News provides latest news about FMI. In particular, a maintenance release FMI 3.0.1 with bugfixes and clarifications will soon be released.

The project web pages FMI, SSP, DCP, eFMI, are now based on the same, modern layout. Work is in progress to change the Modelica Association website to this layout too.

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 Friday, November 10, 2023.

Martin Otter on July 9, 2023

Chairperson of the Modelica Association

This article is provided by Martin Otter (Modelica Association)

Modelica Association

FMI news

fmi-logo

Maintenance release FMI 3.0.1

A maintenance release FMI 3.0.1 with bugfixes and clarifications has been released, see https://github.com/modelica/fmi-standard/releases/. It is backwards compatible and does not intrduce new features.

FMI Validation webpage

On the FMI Webpage an overview of free validation tools for FMUs is available, see https://fmi-standard.org/validation/.

FMI Compatibility Information

The FMI tools page now provides additional information on how the tool vendors have tested their FMU import and export capabilities and standard compliance with other tools. Exporting tools also provide example FMUs, that can be tested by other importing tools. This information is provided on an external webpage or repository provided by the tool vendors themselves.

Tool vendors that provide this information will be marked with a yellow star and are listed onthe top of the list.

(This replaces the FMI Cross Check, which has been archived)

This article is provided by MAP FMI

Related projects

MAP eFMI: New Website, Tools, Tutorial and Members

MAP eFMI

MAP eFMI Website Launched

The official website of the Modelica Association project Functional Mock-up Interface for embedded systems (MAP eFMI) is finally on air. Besides drafts of the upcoming standard, it provides a good overview of the eFMI technology, motivation, available tooling, documentation and introductory material, example eFMUs and a project organization overview.

The project now also provides a new public mailing list, efmi-info@googlegroups.com (Google account required to join), to help newcomers to get in contact with us and started with eFMI.

First Commercial Tool Releases

The first commercial tools with support for eFMI are officially released and available on the market. Most are already well-known and established tooling in the physics modeling or embedded software domain, giving professionals a chance to plug-and-play with eFMI. Together, the now available commercial tooling covers the complete eFMI workflow from physics modeling in Modelica down to production code on dedicated embedded platforms. The interoperability has been extensively tested using the cross-check test suite provided by MAP eFMI.

The now available tools, and their interaction along the eFMI workflow, are summarized in the following figure:

eFMI Commercial Tools

The newly released eFMI tools are (in alphabetic order):

  • AUTOSAR Builder by Dassault Systèmes: IDE for modeling, testing and validation of in-vehicle embedded systems for the AUTOSAR Classic and Adaptive Platforms, facilitating seamless integration with other AUTOSAR compliant tools based on the AUTOSAR Tool Platform (Artop). Enables the application of eFMI Production Code containers in AUTOSAR environments.

  • CATIA ESP by Dassault Systèmes: Embedded source code producer (ESP) on the 3DEXPERIENCE® platform, enabling the generation of eFMI Production Code containers with safety-critical, realtime capable, MISRA C:2012 conforming C code from eFMI Algorithm Code containers.

  • Dymola by Dassault Systèmes: Modelica IDE for the acausal, equation-based modeling and simulation of complex multi-domain physics. Enables the generation of eFMI Algorithm Code containers (i.e., causal/algorithmic solutions) from acausal controller and virtual sensor models in Modelica.

  • TargetLink by dSPACE: Production code generator for highly efficient C code straight from MathWorks® Simulink®/Stateflow® models, supporting early verification through built-in simulation and testing, certified for ISO 26262, ISO 25119 and IEC 61508, and with support for the AUTOSAR Classic and Adaptive Platforms. Enables the generation of eFMI Production Code containers with safety-critical, realtime capable, MISRA C:2012 conforming C code from eFMI Algorithm Code containers.

  • TPT by PikeTec: IDE for testing ECU software and embedded control systems in all development phases such as model-in-the-loop (MiL testing), software-in-the-loop (SiL testing), processor-in-the-loop (PiL testing), hardware-in-the-loop (HiL testing), ECU testing and vehicle testing, supporting relevant safety standards, such as ISO 26262, and test assessment, reporting, management and requirements traceability. Enables the testing of eFMI Production Code containers with eFMI Behavioral Model containers in many well-known embedded execution environments.

MAP eFMI Tool Releases

MAP eFMI released two supporting open source tools for packaging and accessing eFMUs and their individual containers and for checking eFMUs for conformance with the eFMI Standard: the eFMI Container Manager and the eFMI Compliance Checker.

eFMI Tutorial at the 15th International Modelica Conference 2023

An introductory tutorial of eFMI tooling will be provided at the upcoming 15th International Modelica Conference 2023. The tutorial will cover the whole eFMI workflow with a running example and give participants a hands-on chance to try eFMI integration in Dymola, CATIA ESP, TargetLink, AUTOSAR Builder and TPT themselves.

New Project Members

Since its kickoff in 2021 with eleven founding members, four new organizations joined MAP eFMI (in alphabetic order): Altair Engineering Inc., Institute of Vehicle Engineering CO LTD, Mercedes-Benz AG and Mitsubishi Electric Research Laboratories.

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 check our membership application guidelines.

In any case, check the new eFMI website or contact us on our new public mailing list efmi-info@googlegroups.com!

This article is provided by Christoff Bürger (Dassault Systèmes)

Conferences and user meetings

Wolfram Virtual Technology Conference 2023

Alt text

Participate and meet us during the Wolfram Virtual Technology Conference. Join the Wolfram Virtual Technology Conference to explore how System Modeler and the rest of Wolfram’s technology stack can empower your organization’s research, development and deployment. At this conference, new Modelica libraries will be presented.

Learn from users, presenters and developers. Schedule a one-on-one meeting with our experts to get your questions answered.

  • Dates: November 1–3

Click here to read more about the conference.

This article is provided by Ankit Naik Wolfram

Vendor news

TLK DaVE - New version 2023.1

DaVE is a visualization software for post-processing and online display of dynamic data sets. It is widely used to visualize results of Modelica based simulations.

DaVE offers a wide range of both standard plot instruments, as well as thermodynamic state diagrams. Amongst others, pressure enthalpy (ph), temperature enthalpy (Th) diagrams of refrigerants, but also hx-charts for moist air can be used. For these thermodynamic diagrams, the cycle points from refrigerant and heat pump cycles or ventilation and air conditioning systems can automatically be loaded. Additionally DaVE supports the creation of P&I flow diagrams. The connecting lines between the individual symbols can be linked with variables and dynamically change their width and direction. DaVE can also read the object-diagram information from Modelica and automatically generate the P&I diagrams.

This makes DaVE a powerful and helpful application for Modelica based simulations. With the new version 2023.1, TLK offers a free Lite Version which allows to experience and evaluate the features of DaVE.

DaVE Example display

Version 2023.1 of DaVE includes the following new features:

  • New documentation including tutorials for most commonly used features
  • New fluid property data, using TILMedia 3.14
  • Possibility to show current values on y-axis and in legend
  • New licensing scheme with only one license including all features

For further information see dave.tlk-thermo.com or contact us at dave@tlk-thermo.com.

This article is provided by Mario Schlickhoff TLK-Thermo GmbH

orchideo | easySSP v1.2.6 now available

alt text orchideo | easySSP v1.2.6 is now available and comes with an updated UI for Parameter editing and new Simulation features.

Enhanced Parameterization and Modelling Suggestions

alt text The Model Editor in easySSP has seen significant updates for improved user experience. The Parameter Settings interface has been reworked for ease of use and efficiency, providing a more straightforward approach to parameter management.

Furthermore, the Model Editor now includes a new suggestion feature. As users build their models, easySSP intelligently proposes potential connectors and parameters based on the current model state for a more effective and faster system architecture development.

Simulation Check and Windows FMI Support

We are pleased to announce that easySSP’s Cloud Simulation now supports Windows FMI components in addition to Linux and Source Code FMUs. A new pre-simulation check examines your system prior to simulation, ensuring that all requirements for a successful simulation are met.

easySSP is completely based on open standards like FMI, SSP and SSP Traceability. Check out easy-ssp.com for more information!

This article is provided by Gregor Hermann, Peter Lobner eXXcellent solutions

Just released: System Modeler 13.3!

Alt text

The new version comes with features that will accelerate your model development workflows. Some of the key features are:

  • Distribute Libraries: Ensure smooth installation of your libraries including handling of licenses, assets and dependencies.
  • Interact with Real-Time Simulations: Manipulate parameters and inputs to see their effects on the simulation in real time.
  • Expanded Simulation Analysis: Analyze model results by plotting any expression of model variables. Store your expressions and FFTs as model plots for reuse later.
  • Expanded System Models in the Cloud: Add time series, interpolation curves and noise generators to your models in the Wolfram Cloud.
  • Automatically Calibrate Model Parameters: Automatically calibrate model parameters using measured data in Wolfram Language.
  • Build & Simulate Concurrently: Continue working on models and experiments even while validating, building and simulating models.
  • Native Computation Support for macOS ARM Platform: 30 to 50% reduction in build and simulation time on Apple Silicon/macOS ARM platform.

Click here to see more examples and videos on the latest System Modeler features.

This article is provided by Ankit Naik Wolfram

OpenModelica 1.21.0

Version 1.21.0 of OpenModelica was released on Apr 18 2023, with the goal of getting the release schedule back to the originally planned two yearly releases, one in early spring after the OpenModelica Workshop, and one in autumn.

Version 1.21.0 does not contain major new features, but rather a number of incremental improvements and bugfixes that substantially improved the software quality. Overall, 135 issues were addressed.

Version 1.21.0 also allows to turn on the new instance-based API from the Tools | Options menu of OMEdit. This enables the GUI to use the new frontend to get updated and correct information for rendering features such as conditional connectors, parameter-depending dialog settings, parameter setting in replaceable classes, etc. It is also much faster than the previous infrastructure, resulting in an improved user experience. If you are interested in experimenting with this feature, we suggest to use the latest 1.22.0-dev nightly build, since a lot of further improvements and fixes were applied since the release. We plan on making the new instance-based API the default choice with the forthcoming 1.22.0 release, scheduled for Q4 2023.

The full 1.21.0 release notes are available here.

This article is provided by Francesco Casella, Adeel Asghar Open Source Modelica Consortium

Modelon Updates

Modelon is revolutionizing the engineering design industry by offering technologies and services that enable customers to leverage system simulation. Modelon’s flagship product, Modelon Impact, is a cloud system simulation platform that helps engineers virtually design, analyze, and simulate physical systems.

Visit https://modelon.com for more information or follow on LinkedIn.

Modelon Library Updates

As part of Modelon’s 2023.2 release, Modelon has made significant updates to its set Modelica libraries. The highlights below correspond to individual Modelica libraries that Modelon offers as part of Modelon Impact.

Thermal Power Library
  • One-factor Scaling of Combined Cycle Plant Models Users will now be able to adapt the size of their combined cycle plant models within a single parameter. Because every plant is unique, this capability eliminates the need for system modelers to recreate a system model. A user can simply manipulate the size of a pre-existing system model while ensuring that the resized plant matches important variables such as the temperature and pressure of the relevant plant. In turn, users are able to get relatively accurate answers within minutes.

  • Hydrogen Blending of a Combined Cycle Gas Turbines This capability allows you to replace natural gas with hydrogen gas in a combined cycle gas turbine. This is especially useful for users who’d like to evaluate design architectures such as controls design and heat recovery steam generator design with the integration of hydrogen fuel. Performance studies and carbon dioxide reduction studies are also possible with this capability.

  • Integrated Carbon Capture Plant with Combined Cycle Plant Model This model includes a carbon capture plant and combined cycle plant integrated together. This integrated approach allows for complete optimization and flexibility of plants that are designed accordingly.

Vapor Cycle Library
  • Air-to-Air Source Heat Pump Model An air-to-air heat pump model is now available as part of the Vapor Cycle Library. This allows users to model and simulate applications related to the design and operation of residential heat pumps.

  • Stacking with Fin-on-Tube Heat Exchanger The existing fin-on-tube heat exchanger model within the Vapor Cycle Library has been improved to allow stacking and multi-circuit modeling. This is particularly useful for users using Modelon Impact for HVAC applications.

  • Hydrogen Storage Tank Model Package for Aircraft Modelon offers a pre-built hydrogen storage tank model in Vapor Cycle Library for hydrogen aircraft applications. This package includes a subpackage dedicated for tank sizing, which uses methodologies that take into consideration mechanical strength, structural design, heat transfer and dormancy. This package also includes example models that use the hydrogen tank for dynamic simulation. These example models comprise of a detailed tank filling experiment, a sealed tank experiment, and an evaporation of liquid cryogenic hydrogen experiment with a heat exchanger.

Air Conditioning Library
  • Automatic Summation of Refrigerant Volumes and Mass A new capability to automatically sum refrigerant volumes and masses has been introduced. This fully automatic capability streamlines the process for running fixed charge simulations and monitoring charge in the system.

  • Non-Ideal Sensors A package of non-ideal sensor models is now included with the library to support model-based controls development. The non-ideal sensors can flexibly add sensor dynamics, failure, and analog-to-digital conversion effects to sensor outputs to more accurately mimic real sensor signals. An example experiment showing the various non-ideal effects is also included.

Vehicle Dynamics Library
  • Support for rFpro HD TERRAIN SERVER Modelon’s Vehicle Dynamics Library now supports rFpro’s TERRAIN SERVER detailed road surface model. This allows for high-definition surface scan data (such as LiDAR) to be used directly by the vehicle model for tire and chassis contacts.
Electrification Library
  • New Fuel Cell Example A new example showing how to couple a fuel cell with Modelon’s Electrification Library is included. This first example illustrates coupling principles with the Electrification Library using a simplified fuel cell representation.

  • Getting Started Guides and Training A number of improvements and enhancements have been made to the Getting Started guides in the library. In addition, a one-day formal training for Modelon’s Electrification Library is now available.

Other Highlights
  • Tabular Media for Refrigerant Mixtures Modelon Impact users and Modelon library users will now have access to a wider range of refrigerant mixtures that can be used with Modelon’s Vapor Cycle Library, Heat Exchanger Library, Air Conditioning Library, and Thermal Power Library. With the ability to generate mixtures specific to a customer’s use case, users will be able to run simulations up to four times faster than current simulation speeds.

For release notes on all Modelon libraries, please visit the Help Center. For information on Modelon’s libraries, click here.

Blog - Integrating Carbon Capture and Sequestration (CCS) with Natural Gas Combined Cycle Power Plants

Blog CCS with Natural Gas Combined Cycle Power Plants

In this blog, learn how the role of a natural gas combined cycle power plant with carbon capture and sequestration can reduce global emissions of greenhouse gas. Read the blog.

Event - Model-Based Development Seminar Series with Modelon Impact

Modelon K.K. Seminar

In this in-person seminar series organized by Modelon K.K, Dr. Yutaka Hirano will provide step-by-step explanations and hands-on practice using Modelica fundamentals and application methods, details of the Modelica grammar, an overview of Modelica processing systems, and examples of Modelica applications to model-based development and system design. Learn more and register here.

This article is provided by Swati Tyagi, Modelon (https://modelon.com)

News from libraries

Upcoming - Free Rotating Machinery Library

Alt text

The Rotating Machinery library allows you to test novel designs or identify faults in rotating machineries such as turbines, motors and drivelines. Within the library, you’ll find fundamental components of a rotating machinery, such as gears, shafts and bearings. These components are designed to be flexible, enabling you to observe deformations and accurately capture real-world responses under different loads.

Rotating Machinery library will be released later this month. Click here to go the System Modeler Modelica library store.

This article is provided by Ankit Naik Wolfram

Multi-Domain Drone Modeling with the New Open Source Drone Library (Free)

Alt text

Based on research responding to the growing need of simulation-based studies in Unmanned Aerial Vehicle (UAV) [1, 2], the DroneLibrary, aggregates and streamlines the authors’s previous efforts in the area providing multi-domain models to represent each sub-system of drones.

This library contains examples of the quadcopter model at multiple levels of detail under different operating conditions. The component models are developed in a manner to easily replace them for different simulation applications, creating replaceable models that are easy to maintain with broad application scope.

Alt text

Some of the key features are:

  • Component models allowing the modeling of multi-copter configurations beyond the provided quadcopter examples.
  • A number of configurations allowing to compare different electric power train designs.
  • Numerous example models showing a variety of drone configurations, including popular consumer drones.
  • Examples exploiting DLR’s Visualization Library and the Modelica_DeviceDrivers Library for enhanced visualization and immersive user-interaction.

The library has been developed in Dymola. The library was also tested with OpenModelica where currently the models pass checks but may not simulate, contributions increasing compatibility with OpenModelica are welcome as pull requestions online: https://github.com/ALSETLab/Modelica-Drone-3D-FMI.

Click here to download the library.

References:

[1] M. Podlaski, et al (2020-10). “UAV Dynamic System Modeling and Visualization using Modelica and FMI”. In: VFS 76th Annu. Forum & Tech. Display. doi : 10 . 4050 / F - 0076 - 2020-16289., pp. 1058–1072. Available online.

[2] M. Podlaski, et al (2021). “Towards a VR-Based Early Design Interaction for Electric Vertical Take-Off & Landing (eVTOL) Cyber-Physical Models”. In: 2021 NAFEMS World Congr. NAFEMS. Available online.

This article is provided by Luigi Vanfretti Rensselaer Polytechnic Institute

Education news

Claytex technical blog

Claytex logo

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

Use of the Model Management Library

With the installation of Dymola there is the Model Management library, which allows users to be able to gain data about models and even create and modify models. This can be a very powerful and useful tool, if used correctly. This post will go through a couple of examples and a favorite use of the library.

Model Management Image 1

Read the complete article here

Using physical connectors with an FMU

This article has a look at how to interface with FMU blocks that make use of physical connectors, using a simple electrical circuit that is split into two FMUs that interface with electrical connectors.

Simple Electrical Circuit Image2

Read the complete article here

Back to the Future Flying DeLorean

We are always looking for interesting combinations of libraries and good demonstrations of novel systems. We have many useful examples within our libraries demonstrating that, such as the use of the hydrogen library with VeSyMA or lots of different interactions to EPTL or HVAC. But sometimes we like to see what can be done that’s slightly outside the realm of normal applications.

DeLorean Image 3

Read the complete article here

Energy Systems Catapult has partnered with Claytex

Energy Systems Catapult has partnered with Claytex to dramatically shorten the time it takes to run their Home Energy Dynamics (HED) toolkit. New simulations can simulate decarbonisation pathways for domestic buildings, enabling engineers, policymakers, and housing providers to identify the most cost-effective energy-saving actions.

ESC & Claytex Image 4

Read the complete article here

This article is provided by Mahdieh Mehrabi (Claytex)