补充test_mql P4节点真实气体焓诊断

This commit is contained in:
huojiarong committed 2026-07-28 09:00:02 +00:00
1 parent e473162d4c
commit d67fb251d2
2 files changed
+88 -1

No files matched your search

@@ -489,8 +489,13 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
python_reference_port_3_enthalpy_flow_w=-1700.0,
python_reference_port_4_enthalpy_flow_w=-16000.0,
python_reference_port_2_enthalpy_flow_w=-18500.0,
python_real_gas_reference_port_1_enthalpy_flow_w=-790.0,
python_real_gas_reference_port_3_enthalpy_flow_w=-1685.0,
python_real_gas_reference_port_4_enthalpy_flow_w=-15750.0,
python_real_gas_reference_port_2_enthalpy_flow_w=-18225.0,
python_port_2_enthalpy_error_w=658664.2,
python_reference_port_2_enthalpy_error_w=164.2,
python_real_gas_reference_port_2_enthalpy_error_w=439.2,
),
),
pnch012_energy_equation_diagnostics=(
@@ -621,6 +626,7 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
self.assertIn("amesim_pn2vol2_dT_node_plus_dh1=-9000.0", summary)
self.assertIn("python_ref_pn2vol2_dT_node_minus_dh1=-11200.0", summary)
self.assertIn("p4_node_enthalpy@pnnode4_16", summary)
self.assertIn("python_real_ref_p2_dh_error=439.2", summary)
self.assertIn("amesim_p4_dh=-15664.2", summary)
self.assertIn("python_p4_dh=643000.0", summary)
self.assertIn("python_ref_p2_dh=-18500.0", summary)