Nonlinear State Estimation with FMI: Tutorial and Applications

    •  Laughman, C.R., Bortoff, S.A., "Nonlinear State Estimation with FMI: Tutorial and Applications", American Modelica Conference 2020, March 2020.
      BibTeX TR2020-031 PDF Software
      • @inproceedings{Laughman2020mar,
      • author = {Laughman, Christopher R. and Bortoff, Scott A.},
      • title = {Nonlinear State Estimation with FMI: Tutorial and Applications},
      • booktitle = {American Modelica Conference 2020},
      • year = 2020,
      • month = mar,
      • url = {}
      • }
  • MERL Contacts:
  • Research Areas:

    Control, Dynamical Systems, Multi-Physical Modeling


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.


  • Software Download