补充test_mql PNL0003双端温度导数诊断

This commit is contained in:
huojiarong committed 2026-07-29 06:31:04 +00:00
1 parent 137a4cf7d6
commit 890bf1d483
2 files changed
+88

No files matched your search

@@ -417,6 +417,14 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
python_port_2_reference_center_enthalpy_flow_w=-15800.0,
python_port_2_reference_storage_enthalpy_sum_w=3200.0,
python_port_2_reference_storage_enthalpy_error_w=172.0,
amesim_port_1_external_enthalpy_dtemp_component_k_s=80.0,
amesim_port_1_center_enthalpy_dtemp_component_k_s=14000.0,
amesim_port_1_mass_offset_dtemp_component_k_s=-13200.0,
amesim_port_1_heat_dtemp_component_k_s=0.0,
python_port_1_external_enthalpy_dtemp_component_k_s=75.0,
python_port_1_center_enthalpy_dtemp_component_k_s=13900.0,
python_port_1_mass_offset_dtemp_component_k_s=-13100.0,
python_port_1_heat_dtemp_component_k_s=0.0,
amesim_port_2_external_enthalpy_dtemp_component_k_s=6000.0,
amesim_port_2_center_enthalpy_dtemp_component_k_s=-5000.0,
amesim_port_2_mass_offset_dtemp_component_k_s=-1500.0,
@@ -636,6 +644,12 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
self.assertIn("python_dmgas_dt=-0.47", summary)
self.assertIn("python_ref_sdh1=15880.0", summary)
self.assertIn("python_ref_sdh2_error=172.0", summary)
self.assertIn("amesim_dT1_ext_h=80.0", summary)
self.assertIn("amesim_dT1_ctr_h=14000.0", summary)
self.assertIn("amesim_dT1_m_offset=-13200.0", summary)
self.assertIn("python_dT1_ext_h=75.0", summary)
self.assertIn("python_dT1_ctr_h=13900.0", summary)
self.assertIn("python_dT1_m_offset=-13100.0", summary)
self.assertIn("amesim_dT2_ext_h=6000.0", summary)
self.assertIn("amesim_dT2_ctr_h=-5000.0", summary)
self.assertIn("amesim_dT2_m_offset=-1500.0", summary)