补充test_mql pneumatic_96导数分项诊断

This commit is contained in:
huojiarong committed 2026-07-29 07:45:39 +00:00
1 parent bd7c8c99e9
commit 532fdb4e6b
2 files changed
+200

No files matched your search

@@ -511,6 +511,17 @@ 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_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,
amesim_port_2_enthalpy_dtemp_component_k_s=-724.0,
amesim_mass_offset_dtemp_component_k_s=-351.0,
amesim_reference_temperature_derivative_sum_k_s=159.0,
amesim_reference_temperature_derivative_residual_k_s=9.5,
amesim_pressure_derivative_mass_component_pa_s=-30562435.9,
amesim_pressure_derivative_temperature_component_pa_s=12794597.7,
amesim_pressure_derivative_eos_sum_pa_s=-17767838.2,
amesim_pressure_derivative_eos_residual_pa_s=68094.1,
python_line_pressure_pa=14257000.0,
python_line_temperature_k=290.1,
python_line_mass_g=3.52,
@@ -525,6 +536,15 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
python_storage_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,
python_port_1_current_dtemp_component_k_s=0.0,
python_port_2_current_dtemp_component_k_s=261.9,
python_heat_dtemp_component_k_s=0.0,
python_temperature_derivative_error_k_s=112.4,
python_pressure_derivative_mass_component_pa_s=-17917501.3,
python_pressure_derivative_temperature_component_pa_s=650331.8,
python_pressure_derivative_eos_sum_pa_s=-17267169.5,
python_pressure_derivative_eos_error_pa_s=568762.8,
python_chamber_pressure_error_pa=11.9,
python_chamber_temperature_error_k=0.1,
),
@@ -699,6 +719,11 @@ 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("amesim_fd_dT=149.5", summary)
self.assertIn("amesim_dT_m_offset=-351.0", summary)
self.assertIn("python_current_dT=261.9", summary)
self.assertIn("python_dT_error=112.4", summary)
self.assertIn("python_dP_error=568762.8", summary)
self.assertIn("pnl0003_energy@pneumatic_87", summary)
self.assertIn("amesim_sdm1=-462.7", summary)
self.assertIn("amesim_sdh2=3028.0", summary)