1"""Vessels: COPVs, tank ullages, manifold plenums.
3All the same object at different sizes -- a closed volume of gas whose pressure
4is what the rest of the system sees::
6 from feedtwin.props import Fluid
7 from feedtwin.vessels import GasVolume
9 copv = GasVolume(Fluid("nitrogen"), volume=0.009,
10 wall_mass=6.0, wall_capacity=900.0, wall_conductance=12.0)
11 state = copv.initial_state(pressure=310e5, temperature=293.15)
12 copv.pressure(state) # Pa, real gas
14State is ``(mass, internal energy)`` rather than ``(mass, temperature)``, which
15keeps a real gas's energy balance exact. See :mod:`feedtwin.vessels.volume` for
16why that distinction is worth the trouble, and why a vessel wall is not an
20from __future__
import annotations
28 register_collapse_model,
29 registered_collapse_models,
39 registered_geometries,
61 "build_collapse_model",
64 "register_collapse_model",
66 "registered_collapse_models",
67 "registered_geometries",