NeuralFMU: Presenting a Workflow for Integrating Hybrid NeuralODEs into Real-World Applications
Open Access
- 6 October 2022
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 11 (19) , 3202
Abstract
The term NeuralODE describes the structural combination of an Artificial Neural Network (ANN) and a numerical solver for Ordinary Differential Equations (ODE), the former acts as the right-hand side of the ODE to be solved. This concept was further extended by a black-box model in the form of a Functional Mock-up Unit (FMU) to obtain a subclass of NeuralODEs, named NeuralFMUs. The resulting structure features the advantages of the first-principle and data-driven modeling approaches in one single simulation model: a higher prediction accuracy compared to conventional First-Principle Models (FPMs) and also a lower training effort compared to purely data-driven models. We present an intuitive workflow to set up and use NeuralFMUs, enabling the encapsulation and reuse of existing conventional models exported from common modeling tools. Moreover, we exemplify this concept by deploying a NeuralFMU for a consumption simulation based on a Vehicle Longitudinal Dynamics Model (VLDM), which is a typical use case in the automotive industry. Related challenges that are often neglected in scientific use cases, such as real measurements (e.g., noise), an unknown system state or high-frequency discontinuities, are handled in this contribution. To build a hybrid model with a higher prediction quality than the original FPM, we briefly highlight two open-source libraries: FMI.jl, which allows for the import of FMUs into the Julia programming language, as well as the library FMIFlux.jl, which enables the integration of FMUs into neural network topologies to obtain a NeuralFMU.Keywords
All Related Versions
Funding Information
- ITEA3-Project UPSIM (Unleash Potentials in Simulation) (Nr. 19006)
This publication has 12 references indexed in Scilit:
- Hybrid modeling of the human cardiovascular system using NeuralFMUsJournal of Physics: Conference Series, 2021
- NeuralFMU: Towards Structural Integration of FMUs into Neural NetworksSwedish Aerospace Conference, FT2025, 2021
- Modia and Julia for Grey Box ModelingSwedish Aerospace Conference, FT2025, 2021
- Collocation based training of neural ordinary differential equationsStatistical Applications in Genetics and Molecular Biology, 2021
- A Multicomponent Distributed Framework for Smart Production System Modeling and SimulationSustainability, 2020
- Driven by Data or Derived Through Physics? A Review of Hybrid Physics Guided Machine Learning Techniques With Cyber-Physical System (CPS) FocusIEEE Access, 2020
- Modular, Open Source Simulation Approach: Application to Design and Analyze Electric Vehicles2019
- Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equationsJournal of Computational Physics, 2019
- Julia: A Fresh Approach to Numerical ComputingSIAM Review, 2017
- A New Approach to Linear Filtering and Prediction ProblemsJournal of Basic Engineering, 1960