Contents - Index


MODE = BUBP (3)

 

Description: Bubble point calculation for a given pressure

     In1  = Pressure in Pa

     In2  = mole fraction of first component in saturated liquid (skip for pure fluid)

     ...

     InN  = mole fraction of next to last component

 

     Out1 = Temperature in K 

     Out2 = Pressure of saturated liquid in Pa (same as In1)

     Out3 = Density of saturated liquid in gmol/m3

     Out4..OutN = Mole fractions of each component in the vapor phase at equilibrium with the liquid

 

Notes:  This Mode is intended for use with mixtures.  There will not be any mole fractions in the outputs for a pure fluid.

 

Example: 

BUBP=3      "mode for bubble point calculation at a given pressure - this is not needed if the $INCLUDE EES_COOLPROP.txt directive is used"

Pin=100 [kPa]*Convert(kPa,Pa)  "pressure"

mf=0.3         "mole fraction"

$VarInfo TL units=K

$VarInfo PL units=Pa

$Varinfo DL units=gmol/m3

F$='R32+R134a'

CALL EES_COOLPROP(F$, mf, BUBP, Pin: TL, PL, DL, y_32, y_134a)

 

{Solution:

BUBP=3 

DL=15636 [gmol/m3]

F$='R32+R134a'

mf=0.3 

Pin=100000 [Pa]

PL=100000 [Pa]

TL=235.3 [K]

y_134a=0.4139 

y_32=0.5861 

}

 

 

Return