|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| None | __post_init__ (self) |
| float | barrel_area (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) |
| str | __repr__ (self) |
Static Public Attributes | |
| Head | bottom = None |
| Head | top = None |
Protected Member Functions | |
| Head | _bottom (self) |
| Head | _top (self) |
A cylindrical barrel with a head at each end. The usual tank.
Args:
diameter: Inside diameter of the barrel [m].
barrel_length: Straight length between the head tangent lines [m].
bottom: Lower head. Defaults to 2:1 ellipsoidal.
top: Upper head. Defaults to the same as the bottom.
Definition at line 177 of file geometry.py.
| None feedtwin.vessels.geometry.CylindricalTank.__post_init__ | ( | self | ) |
Definition at line 192 of file geometry.py.
| str feedtwin.vessels.geometry.CylindricalTank.__repr__ | ( | self | ) |
Definition at line 270 of file geometry.py.
|
protected |
Definition at line 210 of file geometry.py.
References bottom.
Referenced by cross_section(), height(), total_volume(), volume_below(), and wetted_area().
|
protected |
Definition at line 215 of file geometry.py.
References top.
Referenced by cross_section(), height(), total_volume(), volume_below(), and wetted_area().
| float feedtwin.vessels.geometry.CylindricalTank.barrel_area | ( | self | ) |
Definition at line 220 of file geometry.py.
Referenced by cross_section(), total_volume(), and volume_below().
| float feedtwin.vessels.geometry.CylindricalTank.cross_section | ( | self, | |
| float | level ) |
Definition at line 246 of file geometry.py.
References _bottom(), _top(), barrel_area(), backend.routers.flight.TankConfig.height, height(), feedtwin.vessels.geometry.TankGeometry.height(), max, and min.
| float feedtwin.vessels.geometry.CylindricalTank.height | ( | self | ) |
Definition at line 232 of file geometry.py.
References _bottom(), and _top().
Referenced by cross_section(), combined_gui.PressureBarWidget.paintEvent(), volume_below(), and wetted_area().
| float feedtwin.vessels.geometry.CylindricalTank.total_volume | ( | self | ) |
Definition at line 224 of file geometry.py.
References _bottom(), _top(), and barrel_area().
Referenced by volume_below().
| float feedtwin.vessels.geometry.CylindricalTank.volume_below | ( | self, | |
| float | level ) |
Definition at line 235 of file geometry.py.
References _bottom(), _top(), barrel_area(), backend.routers.flight.TankConfig.height, height(), feedtwin.vessels.geometry.TankGeometry.height(), max, min, total_volume(), and feedtwin.vessels.geometry.TankGeometry.total_volume().
| float feedtwin.vessels.geometry.CylindricalTank.wetted_area | ( | self, | |
| float | level ) |
Definition at line 255 of file geometry.py.
References _bottom(), _top(), backend.routers.flight.TankConfig.height, height(), feedtwin.vessels.geometry.TankGeometry.height(), max, and min.
|
static |
Definition at line 189 of file geometry.py.
Referenced by __post_init__(), and _bottom().
|
static |
Definition at line 190 of file geometry.py.
Referenced by __post_init__(), and _top().