新增test_mql气动组件原语
This commit is contained in:
1 parent
cdead78977
commit
a598fcd5c3
3 files changed
+314
-1
No files matched your search
@@ -42,6 +42,11 @@
|
||||
- 当前覆盖压缩因子、摩尔体积、密度和由密度反算压力。
|
||||
- 已内置 `HELIUM_PR`,供 `test_mql` 默认使用。
|
||||
|
||||
- `PythonModels/components/amesim_pneumatic.py`
|
||||
- 提供 `test_mql` 后续会用到的 AMESim 气动组件原语。
|
||||
- 当前包含氦气 PR 压力闭合的气动容腔、标准可压缩孔口流量、单位换算 helper。
|
||||
- 这层仍是首版近似原语,后续必须通过 AMESim CSV 对齐修正。
|
||||
|
||||
## 物性约定
|
||||
|
||||
AMESim 模型中 `test_mql` 使用氦气,Python 侧当前通过 `HELIUM_PR` 使用 Peng-Robinson 状态方程计算气体压缩因子和密度。当前物性层先覆盖状态方程相关量,完整焓/内能偏差函数后续在接气室能量方程时再补。
|
||||
@@ -88,7 +93,7 @@ AMESim 模型中 `test_mql` 使用氦气,Python 侧当前通过 `HELIUM_PR`
|
||||
## 验证方式
|
||||
|
||||
```bash
|
||||
python3 -m py_compile PythonModels/core/peng_robinson.py PythonModels/systems/test_mql.py PythonModels/systems/test_mql_config.py PythonModels/scripts/run_test_mql.py
|
||||
python3 -m py_compile PythonModels/components/amesim_pneumatic.py PythonModels/core/peng_robinson.py PythonModels/systems/test_mql.py PythonModels/systems/test_mql_config.py PythonModels/scripts/run_test_mql.py
|
||||
python3 -m PythonModels.scripts.run_test_mql
|
||||
python3 -m unittest discover -s tests -t .
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user