补充test_mql PNVO焓流诊断与系数校正
This commit is contained in:
1 parent
a219cddc0b
commit
331435e78a
8 files changed
+1164
-20
No files matched your search
@@ -25,6 +25,20 @@ class PengRobinsonTest(unittest.TestCase):
|
||||
delta=pressure * 1.0e-12,
|
||||
)
|
||||
|
||||
def test_helium_residual_enthalpy_is_small_at_atmosphere(self) -> None:
|
||||
self.assertAlmostEqual(
|
||||
HELIUM_PR.residual_specific_enthalpy(101_300.0, 298.15),
|
||||
17.834,
|
||||
delta=0.01,
|
||||
)
|
||||
|
||||
def test_helium_residual_enthalpy_captures_high_pressure_departure(self) -> None:
|
||||
self.assertAlmostEqual(
|
||||
HELIUM_PR.residual_specific_enthalpy(13_839_965.0, 287.7322),
|
||||
11953.9,
|
||||
delta=0.1,
|
||||
)
|
||||
|
||||
def test_air_reference_remains_available_for_other_models(self) -> None:
|
||||
z = AIR_PR.compressibility_factor(101_325.0, 300.0)
|
||||
density = AIR_PR.density(101_325.0, 300.0)
|
||||
|
||||
Reference in new issue
Block a user