Real-Time Interoperability-Oriented Co-Simulation with OpenModelica and Embedded Controllers - RTISIM
|Linköpings universitet - Dept. of Computer and Information Science
|Funding from Vinnova
|SEK 5 532 415
|December 2015 - June 2019
Purpose and goal
The main goal of the project has been to enable industrial application modeling, real-time simulation and model-based industrial control applied to industrial processes, gas turbine based power generation, and building indoor climate using the FMI 2.0 standard. One of the goals has been to provide system identification and validations into OpenModelica, in order to design and verify controllers for industrial applications. These controllers could then be exported as FMUs and run in real-time for these industrial applications.
Expected results and effects
The Swedish part of the RTISIM project was focused on providing industry with useful new features in OpenModelica with the following expected and actual results: * OpenModelica support for an FMI-based product cycle, including real-time hardware-in-the-loop simulation. * System identification and validation capabilities in OpenModelica accessible to industry users. * Embedded code generation for real-time FMU targets which is optimized in terms of code and memory. The FMI-based product cycle and system identification are realized through extensions to the OMSimulator tool.
Planned approach and implementation
The project started off by creating a code generator for embedded microcontrollers, which was successful in creating a magnetic levitation demo. However, the embedded systems used by the industrial partners included ARM processors with full floating point support and (very limited) Linux installations. The project proceeded with adding support for cross-compilation and statically linked binaries for OpenModelica-generated FMUs and OMSimulator (which simulates FMUs). OMSimulator was then extended to provide the features required in the project. Sweden: LIU, RISE SICS East, Siemens Turbo Machinery AB, ABB AB, Equa Simulation AB India: IIT Bombay with subcontractor CDAC in Trivandrum.