Abstract
Increased complexity of cyber-physical systems within the maritime industry demands closer cooperation be-tween engineering disciplines. The functional mockup interface (FMI) is an initiative aiding cross-discipline in-teraction by providing, a widely accepted, standard for model exchange and co-simulation. The standard is sup-ported by a number of modelling tools. However, to im-plement it on an existing platform requires adaptation. This paper investigates how to adapt the software of an embedded control system to comply with the FMI for co-simulation standard. In particular, we suggest a way of advancing the clock of a real time operating system (RTOS), by overwriting the idle thread and waiting for a signal to start execution until return to idle. This ap-proach ensures a deterministic and temporal execution of the simulation across multiple nodes. As proof of concept, a co-simulation is conducted, showing that the control system of an SCR (selective catalyst reduction) emission reduction system can be packed in a functional mockup unit (FMU) and co-simulated with a physical model, built in Ptolemy II. Results show that FMI can be used for co-simulation of an embedded SCR control soft-ware and for control software development.
Original language | English |
---|---|
Title of host publication | Proceedings of the 1st Japanese Modelica Conference 2016 |
Number of pages | 8 |
Publisher | Linköping University Electronic Press |
Publication date | 2016 |
Pages | 70-77 |
ISBN (Print) | 978-91-7685-749-6 |
DOIs | |
Publication status | Published - 2016 |
Event | 1st Japanese Modelica Conference - Tokyo, Japan Duration: 23 May 2016 → 23 May 2016 Conference number: 1 https://www.modelica.org/events/modelica2016japan |
Conference
Conference | 1st Japanese Modelica Conference |
---|---|
Number | 1 |
Country/Territory | Japan |
City | Tokyo |
Period | 23/05/2016 → 23/05/2016 |
Internet address |
Series | Linköping Electronic Conference Proceedings |
---|---|
Number | 124 |
ISSN | 1650-3686 |
Keywords
- Co-Simulation
- RTOS
- FMI
- FMU
- Embedded Systems