首页 > 解决方案 > FMU-module method get_variable_unit() and more

问题描述

Since FMI version 2.0 we have methods: get_variable_unit() and get_variable_display_unit() that brings the information from the Modelica code for the FMU-module. What I can see there is no impact on what you obtain from get_variable_data() from the FUM-module on the results from a simulation.

Is there any python-package today that facilitate consistent handling of units in diagrams showing simulated data with JModelica, similar to what you get in for instance OpenModelica in the graphical user interface there?

标签: pythonfmijmodelica

解决方案


我在 Modelon 的联系人说他们欢迎第三方在这里贡献。自 2019 年底以来,PyFMI 就在 GitHub 上,所以现在可能会更有趣。


推荐阅读