STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
elements.py File Reference

Go to the source code of this file.

Classes

class  feedtwin.comps.elements.Pipe
class  feedtwin.comps.elements.Fitting
class  feedtwin.comps.elements.Bend
class  feedtwin.comps.elements.FlexHose
class  feedtwin.comps.elements.OrificeCd
class  feedtwin.comps.elements.OrificeISO5167
class  feedtwin.comps.elements.Valve
class  feedtwin.comps.elements.ValveCd
class  feedtwin.comps.elements.CheckValve
class  feedtwin.comps.elements.CheckValveCd
class  feedtwin.comps.elements.MeasuredElement
class  feedtwin.comps.elements.SegmentedPipe

Namespaces

namespace  feedtwin
namespace  feedtwin.comps
namespace  feedtwin.comps.elements

Functions

float feedtwin.comps.elements._calibrate_choke ()
float feedtwin.comps.elements._dynamic_head (float mdot, float bore, float rho)
float feedtwin.comps.elements.cv_from_cd (float cd, float bore)
float feedtwin.comps.elements._curve_dp (Curve curve, float mdot)
HydraulicComponent feedtwin.comps.elements._segmented (ComponentInstance instance)
HydraulicComponent feedtwin.comps.elements._measured (ComponentInstance instance)
FlowConditions feedtwin.comps.elements.conditions_from_fluid (object fluid, float p, float T, Mapping[str, float]|None signals=None, *, bool multiphase=False, str|None phase=None, float gravity=GRAVITY)
float feedtwin.comps.elements._off_the_dew_point (Fluid fluid, float p, float T)
float feedtwin.comps.elements._ideal_gamma (Fluid fluid, float T)
tuple[float, float, float, float, float]|None feedtwin.comps.elements._liquid_state (object fluid, float T)

Variables

float feedtwin.comps.elements.GRAVITY = 9.80665
float feedtwin.comps.elements._CHOKE_COEFFICIENT = None
float feedtwin.comps.elements.KV_PER_CV = 1.0 / 1.1560992283536566
 feedtwin.comps.elements.XT_DEFAULT = XT_TYPICAL
float feedtwin.comps.elements.SHUT_POSITION = 1.0e-3
float feedtwin.comps.elements.GPM_PER_IN2_AT_1PSI = 38.0
float feedtwin.comps.elements.DEW_POINT_MARGIN_K = 0.05
dict feedtwin.comps.elements._IDEAL_GAMMA_CACHE = {}
float feedtwin.comps.elements._IDEAL_GAMMA_RESOLUTION = 1.0
dict feedtwin.comps.elements._LIQUID_CACHE = {}
float feedtwin.comps.elements._CACHE_RESOLUTION = 0.01