Conference article

Nonlinear State Estimation with FMI: Tutorial and Applications

Christopher Laughman
Mitsubishi Electric Research Laboratories, Cambridge, MA, USA

Scott A. Bortoff
Mitsubishi Electric Research Laboratories, Cambridge, MA, USA

Download articlehttps://doi.org/10.3384/ecp20169186

Published in: Proceedings of the American Modelica Conference 2020, Boulder, Colorado, USA, March 23-25, 2020

Linköping Electronic Conference Proceedings 169:20, p. 186-195

Show more +

Published: 2020-11-03

ISBN: 978-91-7929-900-2

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

One of the key uses enabled by the functional mockup interface (FMI) standard is the ability to combine Modelica models governed by differential-algebraic equations with measurement data to systematically estimate unmeasured quantities in physical systems. While it is clear how this might be done in theory, many implementation challenges can make this difficult in practice. This paper provides a tutorial connecting the mathematical formulation of two different estimators, the extended Kalman filter (EKF) and the ensemble Kalman filter (EnKF), to an FMIbased Modelica implementation of these estimators. The efficacy of these methods are demonstrated on an example of a small motor model and a larger thermodynamic model of a building, and some of the advantages and disadvantages of this FMI-based approach to estimation are discussed, as well as limitations of FMI associated with constraint management for these estimation methods. The code for the motor example is publicly available and is attached to this publication.

Keywords

observers, state estimation, extended Kalman filter, ensemble Kalman filter, functional mockup interface (FMI)

References

No references available

Citations in Crossref