补充test_mql PNL0003温度导数分项诊断

This commit is contained in:
huojiarong committed 2026-07-28 10:48:32 +00:00
1 parent 920ee336e9
commit 137a4cf7d6
2 files changed
+93

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_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,
amesim_port_2_heat_dtemp_component_k_s=0.0,
python_port_2_external_enthalpy_dtemp_component_k_s=6100.0,
python_port_2_center_enthalpy_dtemp_component_k_s=-5100.0,
python_port_2_mass_offset_dtemp_component_k_s=-1650.0,
python_port_2_heat_dtemp_component_k_s=0.0,
amesim_port_1_temperature_derivative_fd_k_s=-210.0,
amesim_port_1_temperature_derivative_backward_k_s=-420.0,
amesim_port_1_temperature_derivative_forward_k_s=100.0,
@@ -628,6 +636,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_dT2_ext_h=6000.0", summary)
self.assertIn("amesim_dT2_ctr_h=-5000.0", summary)
self.assertIn("amesim_dT2_m_offset=-1500.0", summary)
self.assertIn("python_dT2_ext_h=6100.0", summary)
self.assertIn("python_dT2_ctr_h=-5100.0", summary)
self.assertIn("python_dT2_m_offset=-1650.0", summary)
self.assertIn("amesim_back_dT2=-600.0", summary)
self.assertIn("amesim_fwd_dT2=120.0", summary)
self.assertIn("amesim_pn2vol_dT2=-530.0", summary)