修复test_mql事件后积分步长控制

This commit is contained in:
huojiarong committed 2026-07-22 02:58:59 +00:00
1 parent a0855018d5
commit 2120901909
12 files changed
+222 -27

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ class AmesimPnl0001PipeTests(unittest.TestCase):
self.assertAlmostEqual(derivative.m, 0.1)
self.assertAlmostEqual(
derivative.U,
0.2 * (internal.h + 1000.0) - 0.1 * internal.h,
0.2 * (internal.h + 1000.0) / self.pipe.gas.gamma
- 0.1 * internal.u,
)