补充test_mql PNL0003储能诊断

This commit is contained in:
huojiarong committed 2026-07-28 02:49:02 +00:00
1 parent 021ea63a2b
commit 7182f929e8
2 files changed
+42

No files matched your search

@@ -389,6 +389,14 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
amesim_center_flow_python_sign_error_g_s=-0.2,
python_center_mass_flow_g_s=454.0,
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,
python_port_1_reference_storage_enthalpy_sum_w=15880.0,
python_port_1_reference_storage_enthalpy_error_w=-28.7,
python_port_2_reference_external_enthalpy_flow_w=19000.0,
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_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,
@@ -581,6 +589,8 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
self.assertIn("python_center_dm=454.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)
self.assertIn("python_ref_sdh2_error=172.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)