补充test_mql pneumatic_96参考导数反事实诊断

This commit is contained in:
huojiarong committed 2026-07-29 08:04:30 +00:00
1 parent 532fdb4e6b
commit cd2fa800b9
2 files changed
+212 -4

No files matched your search

@@ -545,6 +545,44 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
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_reference_port_1_enthalpy_flow_w=0.0,
python_reference_port_2_enthalpy_flow_w=-710.0,
python_reference_port_1_dtemp_component_k_s=0.0,
python_reference_port_2_dtemp_component_k_s=-65.3,
python_reference_mass_offset_dtemp_component_k_s=-382.2,
python_reference_temperature_derivative_k_s=-447.5,
python_reference_temperature_derivative_error_k_s=-597.0,
python_reference_pressure_derivative_mass_component_pa_s=(
-17917501.3
),
python_reference_pressure_derivative_temperature_component_pa_s=(
-22045000.0
),
python_reference_pressure_derivative_eos_sum_pa_s=-39962501.3,
python_reference_pressure_derivative_eos_error_pa_s=(
-21955100.0
),
python_reference_amesim_storage_mass_offset_dtemp_component_k_s=(
-351.0
),
python_reference_amesim_storage_temperature_derivative_k_s=(
-416.3
),
python_reference_amesim_storage_temperature_derivative_error_k_s=(
-565.8
),
python_reference_amesim_storage_pressure_derivative_mass_component_pa_s=(
-25407051.3
),
python_reference_amesim_storage_pressure_derivative_temperature_component_pa_s=(
-20500000.0
),
python_reference_amesim_storage_pressure_derivative_eos_sum_pa_s=(
-45907051.3
),
python_reference_amesim_storage_pressure_derivative_eos_error_pa_s=(
-27999648.2
),
python_chamber_pressure_error_pa=11.9,
python_chamber_temperature_error_k=0.1,
),
@@ -724,6 +762,11 @@ class RunTestMqlFullStateComparisonScriptTests(unittest.TestCase):
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("python_ref_dT=-447.5", summary)
self.assertIn("python_ref_dT_error=-597.0", summary)
self.assertIn("python_ref_dP_error=-21955100.0", summary)
self.assertIn("python_ref_amesim_storage_dT=-416.3", summary)
self.assertIn("python_ref_amesim_storage_dP_error=-27999648.2", summary)
self.assertIn("pnl0003_energy@pneumatic_87", summary)
self.assertIn("amesim_sdm1=-462.7", summary)
self.assertIn("amesim_sdh2=3028.0", summary)