|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| None | __post_init__ (self) |
| float | total_volume (self) |
| float | height (self) |
| float | volume_below (self, float level) |
| float | cross_section (self, float level) |
| float | wetted_area (self, float level) |
Static Public Attributes | |
| Sequence | levels [float] |
| Sequence | volumes [float] |
| Sequence | areas = None |
| Sequence | wall_areas = None |
Protected Member Functions | |
| float | _interp (self, Sequence[float] table, float level) |
A tank described by a measured or CAD-derived *V(h)* table.
The escape hatch, and for a real flight tank usually the right answer: a
weld land, a sump, a baffle ring and an anti-vortex plate are all volume
that no analytic shape has, and CAD already knows about every one of them.
Args:
levels: Heights above the lowest point [m], strictly increasing, the
first at or below zero and the last the full height.
volumes: Cumulative volume below each level [m^3], non-decreasing.
areas: Optional horizontal cross-section at each level [m^2]. Derived
by differencing the volume table when omitted, which is exactly
``dV/dh`` and needs no extra data.
wall_areas: Optional cumulative wetted wall area [m^2].
Definition at line 278 of file geometry.py.
| None feedtwin.vessels.geometry.TabulatedGeometry.__post_init__ | ( | self | ) |
Definition at line 300 of file geometry.py.
|
protected |
Definition at line 328 of file geometry.py.
References levels, max, and min.
Referenced by cross_section(), volume_below(), and wetted_area().
| float feedtwin.vessels.geometry.TabulatedGeometry.cross_section | ( | self, | |
| float | level ) |
Definition at line 340 of file geometry.py.
References feedtwin.props.backends.tabulated.TabulatedProperties._interp, _interp(), areas, levels, max, min, and volumes.
| float feedtwin.vessels.geometry.TabulatedGeometry.height | ( | self | ) |
Definition at line 325 of file geometry.py.
References levels.
Referenced by combined_gui.PressureBarWidget.paintEvent().
| float feedtwin.vessels.geometry.TabulatedGeometry.total_volume | ( | self | ) |
Definition at line 321 of file geometry.py.
References volumes.
| float feedtwin.vessels.geometry.TabulatedGeometry.volume_below | ( | self, | |
| float | level ) |
Definition at line 337 of file geometry.py.
References feedtwin.props.backends.tabulated.TabulatedProperties._interp, _interp(), and volumes.
| float feedtwin.vessels.geometry.TabulatedGeometry.wetted_area | ( | self, | |
| float | level ) |
Definition at line 350 of file geometry.py.
References feedtwin.props.backends.tabulated.TabulatedProperties._interp, _interp(), and wall_areas.
|
static |
Definition at line 297 of file geometry.py.
Referenced by cross_section().
|
static |
Definition at line 295 of file geometry.py.
Referenced by __post_init__(), _interp(), cross_section(), and height().
|
static |
Definition at line 296 of file geometry.py.
Referenced by __post_init__(), cross_section(), total_volume(), and volume_below().
|
static |
Definition at line 298 of file geometry.py.
Referenced by wetted_area().