补充test_mql PNL0003储气质量诊断

This commit is contained in:
huojiarong committed 2026-07-28 10:35:14 +00:00
1 parent fc46c4272a
commit 920ee336e9
2 files changed
+31

No files matched your search

@@ -380,6 +380,12 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
amesim_port_1_storage_enthalpy_sum_w=15908.7,
amesim_port_2_storage_mass_derivative_g_s=-2.6,
amesim_port_2_storage_enthalpy_sum_w=3028.0,
amesim_port_1_mass_estimate_g=1.12,
amesim_port_2_mass_estimate_g=1.05,
python_port_1_mass_g=1.11,
python_port_2_mass_g=1.04,
python_port_1_mass_error_to_amesim_g=-0.01,
python_port_2_mass_error_to_amesim_g=-0.01,
amesim_total_mass_derivative_fd_g_s=-470.0,
amesim_total_mass_derivative_backward_g_s=-540.0,
amesim_total_mass_derivative_forward_g_s=-400.0,
@@ -602,6 +608,9 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
self.assertIn("pnl0003_energy@pneumatic_87", summary)
self.assertIn("amesim_sdm1=-462.7", summary)
self.assertIn("amesim_sdh2=3028.0", summary)
self.assertIn("amesim_m2=1.05", summary)
self.assertIn("python_m2=1.04", summary)
self.assertIn("python_m2_error=-0.01", summary)
self.assertIn("amesim_fd_dmgas=-470.0", summary)
self.assertIn("amesim_back_dmgas=-540.0", summary)
self.assertIn("amesim_fwd_dmgas=-400.0", summary)