STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.props.backends.coolprop._Dome Class Reference

Public Member Functions

None __init__ (self, str fluid)
"_Dome" of (cls, str fluid)
bool near (self, StatePair pair, float v1, float v2)

Public Attributes

 T_c = float(heos.T_critical())
 p_c = float(heos.p_critical())
 rho_c = float(heos.rhomass_critical())
 R = R_UNIVERSAL / float(heos.molar_mass())
list ln_p = []
list T_sat = []
list h_low = []
list h_high = []

Protected Member Functions

float|None _at (self, list[float] column, float p)
bool _critical (self, float p, float T)

Static Protected Attributes

dict _built = {}

Detailed Description

Where a species' tables cannot be trusted: a band about its saturation
line, built once from the equation of state itself (HEOS).

Definition at line 155 of file coolprop.py.

Constructor & Destructor Documentation

◆ __init__()

None feedtwin.props.backends.coolprop._Dome.__init__ ( self,
str fluid )

Definition at line 161 of file coolprop.py.

Member Function Documentation

◆ _at()

float | None feedtwin.props.backends.coolprop._Dome._at ( self,
list[float] column,
float p )
protected
``column`` at pressure ``p``, linear in ln p; None off the curve.

Definition at line 203 of file coolprop.py.

References ln_p, max, and min.

Referenced by near().

◆ _critical()

bool feedtwin.props.backends.coolprop._Dome._critical ( self,
float p,
float T )
protected

Definition at line 215 of file coolprop.py.

References p_c, and T_c.

Referenced by near().

◆ near()

bool feedtwin.props.backends.coolprop._Dome.near ( self,
StatePair pair,
float v1,
float v2 )
Whether this state is one the tables are not trusted at.

Definition at line 219 of file coolprop.py.

References _at(), _critical(), feedtwin.vessels.tank.Tank._critical, h_high, h_low, R, HSEM_TypeDef.R, rho_c, T_c, and T_sat.

◆ of()

"_Dome" feedtwin.props.backends.coolprop._Dome.of ( cls,
str fluid )

Definition at line 197 of file coolprop.py.

References _built.

Member Data Documentation

◆ _built

dict feedtwin.props.backends.coolprop._Dome._built = {}
staticprotected

Definition at line 159 of file coolprop.py.

Referenced by of().

◆ h_high

list feedtwin.props.backends.coolprop._Dome.h_high = []

Definition at line 171 of file coolprop.py.

Referenced by near().

◆ h_low

list feedtwin.props.backends.coolprop._Dome.h_low = []

Definition at line 170 of file coolprop.py.

Referenced by near().

◆ ln_p

list feedtwin.props.backends.coolprop._Dome.ln_p = []

Definition at line 168 of file coolprop.py.

Referenced by _at().

◆ p_c

feedtwin.props.backends.coolprop._Dome.p_c = float(heos.p_critical())

Definition at line 164 of file coolprop.py.

Referenced by _critical().

◆ R

feedtwin.props.backends.coolprop._Dome.R = R_UNIVERSAL / float(heos.molar_mass())

Definition at line 166 of file coolprop.py.

Referenced by near(), and copv.blowdown_solver.TankState.solve_pressure().

◆ rho_c

feedtwin.props.backends.coolprop._Dome.rho_c = float(heos.rhomass_critical())

Definition at line 165 of file coolprop.py.

Referenced by near().

◆ T_c

feedtwin.props.backends.coolprop._Dome.T_c = float(heos.T_critical())

◆ T_sat

list feedtwin.props.backends.coolprop._Dome.T_sat = []

Definition at line 169 of file coolprop.py.

Referenced by near().


The documentation for this class was generated from the following file: