补充test_mql pneumatic_96流量反事实诊断

This commit is contained in:
huojiarong committed 2026-07-29 08:15:36 +00:00
1 parent cd2fa800b9
commit 71da73ef70
2 files changed
+206

No files matched your search

@@ -511,6 +511,8 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
amesim_storage_mass_derivative_residual_g_s=0.0,
amesim_chamber_pressure_pa=15131788.1,
amesim_chamber_temperature_k=291.9,
amesim_node_pressure_pa=13887929.6,
amesim_node_temperature_k=288.9,
amesim_line_temperature_derivative_fd_k_s=149.5,
amesim_line_pressure_derivative_fd_pa_s=-17835932.3,
amesim_port_1_enthalpy_dtemp_component_k_s=1234.0,
@@ -534,6 +536,20 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
python_orifice_to_line_mass_flow_error_g_s=0.8,
python_storage_mass_derivative_g_s=-6.0,
python_storage_mass_derivative_error_g_s=0.0,
python_line_to_node_amesim_node_mass_flow_g_s=451.0,
python_line_to_node_amesim_node_mass_flow_error_g_s=-1.2,
python_line_to_node_amesim_line_mass_flow_g_s=452.8,
python_line_to_node_amesim_line_mass_flow_error_g_s=0.6,
python_line_to_node_amesim_node_line_mass_flow_g_s=452.0,
python_line_to_node_amesim_node_line_mass_flow_error_g_s=-0.2,
python_orifice_to_line_amesim_line_mass_flow_g_s=445.8,
python_orifice_to_line_amesim_line_mass_flow_error_g_s=-0.4,
python_orifice_to_line_amesim_chamber_mass_flow_g_s=446.6,
python_orifice_to_line_amesim_chamber_mass_flow_error_g_s=0.4,
python_orifice_to_line_amesim_line_chamber_mass_flow_g_s=446.0,
python_orifice_to_line_amesim_line_chamber_mass_flow_error_g_s=-0.2,
python_storage_amesim_boundary_states_mass_derivative_g_s=-6.0,
python_storage_amesim_boundary_states_mass_derivative_error_g_s=0.0,
python_chamber_pressure_pa=15131800.0,
python_chamber_temperature_k=292.0,
python_current_temperature_derivative_k_s=261.9,
@@ -757,6 +773,9 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
self.assertIn("python_line_to_node_dm=453.0", summary)
self.assertIn("python_line_to_node_dm_error=0.8", summary)
self.assertIn("python_storage_dm_error=0.0", summary)
self.assertIn("python_line_to_node_amesim_node_line_dm=452.0", summary)
self.assertIn("python_orifice_to_line_amesim_line_chamber_dm=446.0", summary)
self.assertIn("python_storage_amesim_boundary_states_dm_error=0.0", summary)
self.assertIn("amesim_fd_dT=149.5", summary)
self.assertIn("amesim_dT_m_offset=-351.0", summary)
self.assertIn("python_current_dT=261.9", summary)