1

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?

4

1 回答 1

0

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

于 2020-02-27T06:45:21.087 回答