34def _lockup(datum: bool, copv_psi: float) -> dict[str, float]:
39 model = assemble_model(read_diagram(
_drawing(datum), name=
"he"), diagram_id=
"he")
40 session = open_session(
41 model, load_machine(tables=TABLES), setup=burn_setup(dome_psi=500.0)
43 return jump_to_t0(session, copv_psi=copv_psi, fill_fraction=0.95).lockup_psi
47 not (HE.exists()
and TABLES.is_dir()), reason=
"helium drawing or tables absent"
50 """Dome 500 + the 1092-50's 50 - 17 x 4.5 at a 4,500 psig bottle; 34 psi
51 higher off a 2,500 psig one."""
54 assert full
and set(full) == set(half)
55 for tank, psig
in full.items():
56 assert psig == pytest.approx(500.0 + 50.0 - 17.0 * 4.5, abs=0.5), tank
57 assert half[tank] - psig == pytest.approx(17.0 * 2.0, abs=0.05), tank
61 not (HE.exists()
and TABLES.is_dir()), reason=
"helium drawing or tables absent"