The paper proposes an extension of FMI 2.0 for the rig-orous treatment of discrete-time models. This includes the introduction of discrete-time states, the declaration of clocks in the model description and an extension of the calling interface for the external activation of clocks by an importing environment. The synchronous discrete-time extension enables for the first time the synchronization of FMUs with the environ-ment and with other FMUs. It specializes the existing generic event mechanism of FMI 2.0 and maps to syn-chronous features of Modelica. Discrete-time FMUs are needed for the generation of controller code from functional models. This paper out-lines different use cases, including a simple PI control-ler, feed forward control with a nonlinear inverse model and nonlinear model predictive control. The FMI change proposal FCP-001 and the Modelica change proposal MCP-0024 describe the proposed ex-tensions in more detail. Test implementations exist in the simulation tools Dymola and OpenModelica and in the importing optimization solver HQP. The use cases given in this paper served for further refinement of the change proposals and the test implementations.
CITATION STYLE
Franke, R., Mattsson, S. E., Otter, M., Wernersson, K., Olsson, H., Ochel, L., & Blochwitz, T. (2017). Discrete-time models for control applications with FMI. In Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017 (Vol. 132, pp. 507–515). Linköping University Electronic Press. https://doi.org/10.3384/ecp17132507
Mendeley helps you to discover research relevant for your work.