24def _land(quality: float) -> tuple[float, float, list[str]]:
25 h = N2.get(
"h", p=P, q=quality)
26 landed = N2.get(
"T", p=P, h=h)
27 holder = SimpleNamespace(assumptions=[])
28 held = Session._off_the_dew_line(holder, N2, P, h, landed,
"n")
29 return landed, held, holder.assumptions
58 """The same state reached another way -- a chilled LOX tank's nitrogen
59 ullage at 2.72 bar and 86.83 K, seeding its press line (Ethalox Stand,
60 13 s of failed solves in Vent)."""
64 on_the_line = N2.get(
"T", p=p, q=1.0)
65 conditions = conditions_from_fluid(N2, p, on_the_line, phase=
"gas")
66 assert conditions.temperature == pytest.approx(on_the_line + DEW_POINT_MARGIN_K)
67 assert conditions.rho == pytest.approx(N2.get(
"rho", p=p, q=1.0), rel=0.01)
68 warm = conditions_from_fluid(N2, p, 150.0, phase=
"gas")
69 assert warm.temperature == 150.0