补充test_mql PNL0003中心焓候选诊断

This commit is contained in:
huojiarong committed 2026-07-28 09:16:33 +00:00
1 parent d67fb251d2
commit 918952f130
2 files changed
+95

No files matched your search

@@ -388,6 +388,16 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
amesim_center_flow_python_sign_equivalent_g_s=454.2,
amesim_center_flow_python_sign_error_g_s=-0.2,
python_center_mass_flow_g_s=454.0,
amesim_center_real_gas_reference_port_1_estimate_w=15700.0,
amesim_center_real_gas_reference_port_1_error_w=-123.7,
python_center_ideal_reference_port_1_estimate_w=16100.0,
python_center_ideal_reference_port_1_error_w=276.3,
python_center_ideal_reference_port_2_estimate_w=16200.0,
python_center_ideal_reference_port_2_error_w=376.3,
python_center_real_gas_reference_port_1_estimate_w=8300.0,
python_center_real_gas_reference_port_1_error_w=-7523.7,
python_center_real_gas_reference_port_2_estimate_w=8400.0,
python_center_real_gas_reference_port_2_error_w=-7423.7,
python_total_mass_derivative_kg_s=-0.47,
python_port_1_reference_external_enthalpy_flow_w=80.0,
python_port_1_reference_center_enthalpy_flow_w=15800.0,
@@ -592,6 +602,8 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
self.assertIn("amesim_storage_dmgas_residual=4.7", summary)
self.assertIn("amesim_dmctr_py_sign=454.2", summary)
self.assertIn("python_center_dm=454.0", summary)
self.assertIn("amesim_center_real_p1_error=-123.7", summary)
self.assertIn("python_center_ideal_p2=16200.0", summary)
self.assertIn("python_center_dm_error=-0.2", summary)
self.assertIn("python_dmgas_dt=-0.47", summary)
self.assertIn("python_ref_sdh1=15880.0", summary)