2019-01


Modelica Association Newsletter, issued on 25 March 2019


Table of contents

Letter from the Board

Dear Modelica, FMI, SSP, DCP interested,

The Modelica Association is expanding its standardization portfolio. As of March 2019, the first versions of two new standards have been released:

  • The System Structure and Paramerization (SSP) standard describes in a logical way (using xml-files and other information in a zip-file container) how model components are connected and possibly (hierarchically) composed into composite components, as well as how model parameterization data is stored and exchanged between them. For example, this can then be used to define the hierarchical connection and parameterization of a set of connected Functional Mock-up Unit (FMI) components.

  • The Distributed Co-simulation Protocol (DCP) standard is an application layer protocol that allows integration of real-time and non-real-time systems. It enables exchange of simulation related configuration information and data by use of an underlying transport protocol (such as UDP, TCP, or CAN) with no overhead during run time. For more information, check out the release announcement in this newsletter.

The new version 3.2.3 of the Modelica Standard Library was released at the end of January 2019, containing more as 100 new model components and fixing about 550 reported issues. Furthermore, the license of the library has been changed to the BSD 3-clause license in order to simplify the usage of the library. For more detailed information, see the release notes. Unfortuntely, some minor regressions with regards to incorrect obsolete messages had been detected after this release. For this reason a second build of version 3.2.3 was released on March 20, to address these minor inconveniences.

The Modelica Association is very pleased about the successful 13th International Modelica Conference, held in Regensburg, Germany on March 4-6, 2019. The conference had 89 papers, 2 sessions with industrial user presentations, 17 exhibitors and about 320 attendees. As always, the open access conference proceedings are available from Linköping University Electronic Press. For more information, see the article below.

The next International Modelica Conference will take place in two years, most likely in Linköping, Sweden. Next year local Modelica Conferences shall take place outside of Europe. If you would like to organize such a Modelica Conference, please inspect the Modelica Conference series for instructions. There is already interest in organizing local conferences for 2020 in China, Japan and North-America.

If you have interesting news for the Modelica, FMI, SSP and DCP communities, please follow the submission guidelines. The deadline for articles for the next newsletter is Fr. July 12, 2019.

Martin Otter on March 24, 2019
Chairman of the Modelica Association

This article is provided by Martin Otter (Modelica Association)

Modelica Association

DCP version 1.0 released at 13th Modelica Conference 2019

The Distributed Co-Simulation Protocol (DCP) version 1.0 was released at the 13th International Modelica Conference 2019, which took place in Regensburg, Germany, from March 4-6.

To learn what the DCP is, how to get it, how it can be used, and which applications can benefit from it, check out www.dcp-standard.org!

The following items are available under open-source licenses:

  • DCP specification document 1.0
  • DCP slave description schema files
  • DCP reference implementation (C++)

In case of any questions send an e-mail to contact@dcp-standard.org.

This article is provided by Martin Krammer (VIRTUAL VEHICLE)

13th International Modelica Conference 2019

The 13th International Modelica Conference has been held at OTH Regensburg, Germany, March 4-6, 2019. It has been organized by OTH Regensburg / Faculty of Electrical Engineering and Information Technology, in cooperation with the Modelica Association.

Prof. Wolfgang Baier, President of OTH Regensburg welcomed the participants.

Conference Venue

The conference took place at Ostbayerische Technische Hochschule (Eastbavarian Technical University) Regensburg near the center of Regensburg, only 30 minutes to walk from the historical centre of Regensburg.
Venue Address: OTH Regensburg
Seybothstr. 2, 93053 Regensburg, Germany

Welcome

The Modelica Conference is the main event for users, library developers, tool vendors and language designers to share their knowledge and learn about the latest scientific and industrial progress related to Modelica and to the Functional Mockup Interface. The program will cover modeling of complex physical and cyber-physical systems, as well as tools, for a wide range of research and industrial applications. In addition to paper presentations and poster sessions, the conference features several Modelica tutorials for beginners and advanced users, as well as vendor presentations, and an exhibition.

Starting with this conference, you will notice some changes:

First, we are going to organize the International Modelica Conference every two years in spring. In the years between International Modelica Conferences, Modelica Conferences are organized on other continents with country specific focus.

Second, additional to the tutorials and vendor presentations on the first day of the conference, we are going to have Industrial User Presentations related to the Modelica Association Projects. These presentations are not included in the proceedings, but they should provide a nucleus for discussions and broadening the users groups.

Facts:

  • 2 sessions with industrial user presentations
  • 7 tutorials
  • 14 vendor presentations
  • 17 sponsors and exhbitors
  • 101 submissions, 76 oral presentations and 13 posters
  • 2 keynotes held by Dr. Chistian Kral, Vienna and Dr. Gerd Rösel, Continental Regensburg
  • 320 attendees / 570 together with American and Japanese Modelica Conference within 10 months!
  • Proceedings available at the Modelica Website and Linköping University Electronic Press

Modelica Library Award

We proudly announce the winners of the Modelica Library Award 2019:

The first price was awarded to Queralt Altes-Buch and her co-authors for her submission Greenhouses: A Modelica Library for the Simulation of Greenhouse Climate and Energy Systems

The second price was awarded to Christian Kral and his co-authors for his submission Open Source PhotoVoltaics Library for Systemic Investigations

We encourage you to submit your work for the Library Award at the next Modelica Conference!

Conference Board

  • Prof. Anton Haumer, OTH Regensburg (Conference Chair)
  • Prof. Francesco Casella, Politecnico di Milano, Italy
  • Dr. Hilding Elmqvist, Mogram, Lund, Sweden
  • Prof. Peter Fritzson, Linköping University, Sweden
  • Prof. Martin Otter, DLR, Germany
  • Dr. Michael Tiller, Xogeny, Michigan, USA

Many thanks to all that supported the conference! Thank you all for coming - hope to meet you at the next conference!

Contact

Prof. Anton Haumer, OTH Regensburg (Conference Chair)
In case of questions, please send an email to: modelica2019@modelica.org

This article is provided by Anton Haumer OTH Regensburg

Conferences and user meetings

OpenModelica Annual Workshop 2019

The 11th OpenModelica Annual Workshop organized by the Open Source Modelica Consortium was held successfully in Linköping, Sweden, on February 4, 2019. New results and applications regarding the OpenModelica platform were presented, including the new fast OpenModelica compiler frontend, vectorized applications for digital platforms, unified simulation interface, FPGA simulations, initialization with dynamic state selection, simulation for an X-ray space observatory, OpenModelica technical overview, unit testing, OMSimulator 2.0 for FMI simulation, teaching Modelica using OpenModelica.

The program and the 13 presentations are available from Workshop Program

Left:Lennart Ochel and Lena Buffoni, OpenModelica workshop chairpersons (Linköping University) opening the workshop.

Right:OpenModelica workshop, Francesco Casella and Adrian Pop making a live demo of OMEdit with the new frontend based API with an impressive 20x faster performance.

This article is provided by Peter Fritzson (Open Source Modelica Consortium)

MODPROD Workshop 2019

The 13th international MODPROD Workshop on Model-Based Cyber-Physical Product Development, organized by the MODPROD competence center at Linköping University, was successfully held at Linköping University, Linköping, Sweden, February 5-6, 2019. Three tutorials were held in the morning the first day on the topics: Introduction to Modelica modeling, debugging, and Julia interoperability; FMI for composite modeling, co-simulation and model-exchange; Modeling software processes and practices with the ESSENCE standard.

The following keynotes were presented:

Lars Ydreskog, Deputy CEO, Combitech, Sweden. ”Model-Based Systems Engineering, an Enabler for Digital Product Creation Henrik Lönn, Technology Specialist, Embedded Software, AB Volvo. ”Model Based Continuous Integration of Automotive Embedded Systems” Charlotta Johnsson, Professor, Department of Automatic Control, Lund University. ”International Standards and their Relevance for Model-Based Development”

The program and the presentations are available from modprod program

Left:Peter Fritzson (Linköping University) (left) leaves as MODPROD director after 13 years, becomes vice director, and hands over the directorship to Niclas Fock (RISE Research Institutes of Sweden).

Right:Visit to the National Supercomputer Center in Linköping (www.nsc.liu.se ) where the new supercomputer TetraLith has just been installed.

This article is provided by Peter Fritzson (Open Source Modelica Consortium)

Vendor news

Modelica serves as a cornerstone for Altair’s system simulation tools

Altair Activate with Modelica built-in

What do Schneider Electric, thyssenkrupp Elevators, and Mabe all have in common? Their engineering teams are designing better products, faster, through their use of Altair Activate™ as their open platform for multi-disciplinary system simulation.

Activate provides built-in access to specialized Modelica libraries facilitating the 1D physical modeling of mechanical, thermal, electrical, hydraulic, and magnetic subsystems. Hybrid 1D modeling can be achieved by using any combination of models defined with a physical-based approach, with a signal-based approach, and/or with SPICE.

This approach also enables equation-based 0D modeling directly, by leveraging the OpenMatrix Language (OML). And it enables sophisticated 0D/1D/3D combined modeling by easily coupling and co-simulating with 3D models – obtained from Altair tools directly (e.g., for electromagnetics or mechanics) and/or from third-party tools through the Functional Mockup Interface (FMI) standard. Linearization and optimization are also available in the same modeling environment.

Download your own free Basic Edition of Activate at https://www.altair.com/mbd2019/activate to discover what systems you can simulate today!

Send us an email via info@altair.com if you would like to obtain the presentation and model files associated with the informative tutorial recently provided at the 2019 International Modelica Conference titled “Connecting Separated Worlds for True Multi-disciplinary System Simulation – by Using Altair Activate”.

This article is provided by Jim Ryan (Altair Engineering Inc.)

SystemModeler and Mathematica 12-Modelica to Millions

SystemModeler and Mathematica 12 will be released during spring 2019.

Mathematica 12

Version 12 of Mathematica comes with built-in simulation engine of SystemModeler. This means millions of Wolfram language users world-wide can model, simulate and analyze any Modelica model and make use of all the system modeling functionality.

alt text

Integration with the Wolfram language makes it easier to perform complex tasks such as:

  • Designing and optimizing components of a system, e.g. designing guidance system of a rocket
  • Obtaining real-world data, e.g. comparing energy consumption for house heating
  • Creating custom visualization, e.g. visualizing a satellite path

SystemModeler 12

The latest version of SystemModeler contains many new features to make your design process more efficient. Some of the significant features are:

  • Symbolic Linearization–Linearize your model symbolically around any operating point and use it for your study of dynamical systems.
  • Equation Browser–Debug your models, understand simulation behavior and eliminate performance bottlenecks with the equation browser.
  • Full FMI support–Share models with any other FMI compliant tool for further analysis such as software-in-the-loop testing, CFD analysis and more.

Click here to read the latest SystemModeler news.

This article is provided by Ankit Naik Wolfram

Siemens as committed as ever to supporting Modelica and FMI

Modelon – Siemens partnership: outcome reflected in the shortly available version of Simcenter Amesim

As a result of the previously announced partnership between Siemens and Modelon, Siemens confirms that the forthcoming release of Simcenter Amesim (expected April 2019) will be the first version to officially include Modelon’s OPTIMICA Compiler Toolkit as its standard Modelica engine to create and/or reuse Modelica models within native Simcenter Amesim models. Thanks to this revamped Modelica support, it will be possible to combine the strengths of causal and acausal modeling techniques within a unique platform.

FMI still at the core of Siemens’ product strategy

As since day one, Siemens PLM Software actively contributes to the FMI 3.0 specification and more generally to the promotion of the FMI standard to its industrial customers. In this spirit, the up-coming release of Simcenter Amesim will bring many improvements to the FMI support. In short, these enhanced capabilities will allow for:

  • the use of additional advanced co-simulation techniques,
  • an increased protection of the intellectual property contained in Simcenter Amesim FMUs,
  • performing the virtual calibration of imported FMUs directly within the Simcenter Amesim GUI.

Moreover, users will be able to export their Simcenter Amesim multiphysical models to additional FMI compatible real-time targets. These new capabilities will serve the needs of the automotive, aerospace and marine industries as well as the emerging—and exciting—applications of the Industrial Internet of Things (IIoT), in total coherence with the Industry 4.0 vision embodied by Siemens.

Stay tuned on the Simcenter Blog. In the meantime and for more information on Simcenter Amesim, do not hesitate to visit our website.

This article is provided by Bruno Loyer (Siemens PLM Software)

OpenModelica 1.13.2 Release

OpenModelica is the most complete open-source Modelica-based cyber-physical mathematical modeling, simulation and optimization environment intended for industrial and academic usage. Its long-term development is supported by a non-profit organization – the Open Source Modelica Consortium OSMC with many company, institute, and university members.

The figure shows OpenModelica with a plot from a simulation of the V6Engine model.

The OpenModelica 1.13.2 is mainly a bug fix release compared to the previous 1.13.0, as well as providing small enhancements in OMEdit, FMI export, increased performance and stability, etc. Moreover, model encryption is part of the release and available to OSMC members.

This article is provided by Peter Fritzson (Open Source Modelica Consortium)

OMSimulator 2.0 final release with SSP

OMSimulator 2.0 provides a co-simulation and simulation environment for FMUs. The OMSimulator 2.0 final release is part of OpenModelica 1.13.2 and supports both ordinary signal connections and TLM (transmission line modelling) connections. Composite model structure and parameterization are stored according to the SSP standard, also allowing some extensions, e.g. bus connections. The figure shows the simulation of a composite FMI model.

OMSimulator and OMEdit

The following are highlights of OMSimulator 2.0:

  • Efficient simulation of composite models based on model exchange and co-simulation FMUs
  • Graphical composition of FMUs and visualization of simulation results
  • Scripting interface, e.g. Python and Lua.
  • Distributed simulations utilizing TLM master algorithm
  • Increased numerical stability during co-simulation in various applications due to TLM connectors
  • SSP (System Structure and Parameterization) support for composite models
  • Modeling bus connections

This article is provided by Lennart Ochel and Adeel Asghar (Open Source Modelica Consortium)

Modelon March 2019 Updates

Modelon provides software solutions and expert services to organizations that use model-based simulation tools to design and develop technical systems. Modelon’s libraries, solver,and deployment solutions are leading products available in the market today for modeling, simulation, and optimization. Our products enable companies to focus on delivering a unified picture of product system interaction and performance - from product concept to operation.

Visit www.modelon.com for more information.

Follow us on LinkedIn.

Now Available: Modelon Authored Papers from the 13th International Modelica Conference

International Modelica Conference

Thank you to everyone who attended Modelon’s vendor session, paper presentations, and visited the Modelon booth at the 13th International Modelica Conference. Proceedings from the following presentations are now available:

Model-Based Controls Development and Implementation for Hydroelectric Power System

By Authors Anh Nguyen and John Batteh

This paper describes the model-based control system development for a hydroelectric power plant to ensure water level control and mitigate spillage risk. The modeling of both the flume system and prototype controls is described. The integrated model is run over a suite of tests to verify the calibration of the control strategy. Results from the plant commissioning are compared with the virtual tests. The model proved capable of accurate predictions of the waterway dynamics, and the model-based calibration was successfully verified on the actual plant.

Read the full publication here.

Diesel Cooling System Modeling for Electrification Potential

By Authors John Batteh, Ashok Kumar Ravi, and Dale Pickelman

Electrification of automotive systems presents significant opportunities for improvements in cooling system efficiency and performance. This paper describes an effort to develop an analytic platform for Hanon Systems to evaluate the electrification potential for powertrain cooling systems. The paper describes the development of a baseline diesel cooling system model based on the Ford 6.7L Power Stroke diesel. A variant of the system with electric pumps is also modeled. Performance of the baseline conventional and electric pump system are compared on a typical automotive drive cycle to quantify potential benefits of the electric pump system and advanced controls.

Read the full publication here.

On-Demand Webinar: Integrating Carbon Capture & Storage Technology Using Simulation

CCS Webinar

In this free webinar, Modelon teams up with researchers from the Norwegian University of Science and Technology (NTNU) to explore Carbon Capture and Storage technology for reducing powerplant emission levels by up to 90%. Our presenters walk through their study of building a scalable plant model with Modelon’s Thermal Power Library, using data from a large-scale pilot plant to validate their model, designing control structures, and effectively integrating Carbon Capture & Storage (CCS) technology with a flexible operation plant. Watch the webinar now.

New Blog: Propagating Replaceable Medium Automatically

Users of Modelon libraries in Dymola can activate a new feature that will automatically update the Medium in each component. Learn how to implement this new feature in our recent tips and tricks blog.

Read the blog.

This article is provided by Swati Tyagi, Modelon

New user interface for Dymola

The user interface of Dymola has not changed much for several years, but now it’s time for a major overhaul. Dassault Systèmes is working on a new ribbon-based user interface that both looks more modern and is more task-focused to increase productivity. Development is in full progress, and we seek test pilots for the first beta-release in May this year. The core of the beta-version will be compatible with Dymola 2020.

If you are interested in becoming one of the early test pilots, please contact Dag Brück (dag.bruck@3ds.com).

This article is provided by Dag Brück (Dassault Systemes)

Dymola 2020

At the recent Modelica Conference, Dassault Systèmes revealed the upcoming Dymola 2020 release. Key improvements include:

  • Running simulations on multiple CPU cores, which is automatically applied to parameter sweeps. In addition, it is possible to set an option to only write variables to the result file at stop time, significantly reducing system overhead.
  • Improved steady state initialization and advanced options for controlling start guess values. These improvements improves initialization of large systems.
  • The model diagram layer can be used to directly select plot variables in components or in connections.
  • New commercial library for industrial process simulation, developed by Optimation AB.
  • Uses Modelica Standard Library 3.2.3.

This article is provided by Dag Brück (Dassault Systemes)

News from libraries

TLK TIL Suite - New version 3.7.0

tlk-tilsuite logo

The TIL Suite is used to generate stationary and transient simulation results. It is based on technical experience with our test benches, and theoretical experience with services in the field of modelling and simulation. The next version 3.7.0 will be available in April 2019 and includes new and improved components and system models. Among other things, we would like to draw your attention to the following innovations:

  • New VLEFluid-Volume model with fixed or variable volume including heat port.
  • WallCell: Heat connections between wall cells with east-west orientation (along the channel) are now optional and disabled by default to reduce the sizes of the linear system of equations.
  • Summaries: Property-calculations were changed, now using new TILMedia classes (object function based), which improve the compatibility to the Modelica specification.
  • New VLEFluid-InlineBoundary model to set mass flow rate, temperature or heat flow rate at a certain position.
  • New Watchdog model to terminate simulations after a defined time.
  • VLEFluid-Pump2ndOrder: An improved energy balance for zero mass flow rate and the consideration of density by the affinity laws were added.

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

This article is provided by Matthias Kwak TLK-Thermo GmbH

Industrial Process Simulation

A new library focusing on industrial process simulation will be released for Dymola 2020. Developed by the Swedish company Optimation AB, the library offers models commonly used to create a virtual representation of processes for paper and pulp, as well as steam networks. The library has been used for several years in heavy industrial applications, opening possibilities for significant cost reductions:

  • Correct design of new plants and upgrades of existing ones.
  • Controller tuning and optimization before plant is even started.
  • Reduced commissioning time and improved quality from get-go.
  • Operator training capturing correct plant dynamics using a virtual twin.

This article is provided by Dag Brück (Dassault Systemes)

Education news

Claytex technical blog

Claytex logo

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

Here is our latest technical blog post:

Can an F1 car drive on the ceiling?

I don’t know about you, but I’ve heard “a Formula One car has enough downforce that it can drive upside down on the ceiling” so many times but have never had any proof of this. I, for one, would love to see this put to the test, but I doubt that a Formula One team would risk their hard work by running it upside down just to settle an idle curiosity. I would love to test this myself but not having full, unbridled access to a Formula One team is just the start of problems with this plan. But, here at Claytex, I have access to a Motorsports grade vehicle dynamics simulation suite that is used extensively throughout Formula One. Read the complete article here

F1 car

This article is provided by Mahdieh Mehrabi (Claytex)

New book on Modelica for electrical engineers

Modelica book

The book (published in German by Hanser) is written for electrical engineers, since all examples are related with electrical power engineering and electrical machines. After a summary of the fundamental principles the first steps on creating and simulation Modelica models are provided. Each simulation example shown in the book is based on the open source library HanserModelica. This library is fully tested with OpenModelica so that the reader can perform all the simulation examples of the book solely on open source software.

Modelica is introduced based on both, the underlying theoretical concepts and practical applications. Engineering examples cover transient and quasi stationary electric circuits, and electrical systems coupled to the magnetic, thermal and mechanical models. The theory and the implementation of the polyphase electrical machine models released in the Modelica Standard Library are explained and discussed in detail. Typical lab experiments of polyphase electrical machines are provided for induction and synchronous machines.

One chapter of the book presents a tutorial on GitHub using GitKraken. In this chapter the author explains how a Modelica project can be initiated, developed and maintained through GitHub.

This article is provided by Christian Kral