python - 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?
解决方案
我在 Modelon 的联系人说他们欢迎第三方在这里贡献。自 2019 年底以来,PyFMI 就在 GitHub 上,所以现在可能会更有趣。
推荐阅读
- android - 线性布局超出范围
- python - 运行 setup.py 时以 '\xff' 开头的非 UTF-8 代码
- android - 错误:模块“playerlib”:找不到平台“android-28”
- qt - 使用 CMake 编译 QTCreator 和 VisualStudio 代码
- mysql - 如何用小数计算 MySQL 中的百分位数?
- c# - 如果在选择新的 linq 中结果为 < 0
- node.js - 如何在 MVC 架构中创建松散耦合的服务?
- reactjs - 如何在非反应 3rd 方 html 中呈现多个反应组件
- selenium - 使用 selenium-chrome-driver 4.0.0-alpha-5 并且我收到此错误:“此版本的 ChromeDriver 仅支持 Chrome 版本 81”
- java - 持续的 React Native 问题:未设置 JAVA_HOME