EC_Incomp_Soln Functions

Create a EC_Incomp_Soln object like this:

from engcoolprop.ec_incomp_soln import EC_Incomp_Soln

# Create incompressible object. (without specifying state point)
ec_soln = EC_Incomp_Soln(symbol="MEG-30%")

If the mass fraction is not known, simply use the base name to get an average supported mass fraction like this:

ec_soln = EC_Incomp_Soln(symbol="MEG")

EC_Incomp_Soln Description

CoolProp has a set of incompressible solutions (e.g. Brines and Solutions) EC_Incomp_Soln is a wrapper of those solutions using Engineering Units.

To get a list of these solutions use:

incompressible_list_solution = CP.get_global_param_string('incompressible_list_solution')

EngCoolProp uses units of primarily inch, lbm, lbf, sec, BTU (some use of ft and hour).:

#:c     The following are the default units for each property of Incompressible Fluids.
#:c 
#:c     T = Temperature = degR
#:c     P = Pressure = psia
#:c     D = Density = lbm/cu ft
#:c     rho = Density = lbm/cu inch
#:c     E = Internal Energy = BTU/lbm
#:c     H = Enthalpy = BTU/lbm
#:c     S = Entropy = BTU/lbm degR
#:c     Cp = Heat Capacity (const. P) = BTU/lbm degR
#:c     V = Viscosity = 1.0E5 * lbm/ft-sec
#:c     C = Thermal Conductivity = BTU/ft-hr-R

EC_Incomp_Soln Methods

class engcoolprop.ec_incomp_soln.EC_Incomp_Soln(symbol='MEG-20%', T=None, P=None, Pmax=10000.0, show_warnings=2, auto_fix_value_errors=True)
getStrTPD()

create a string from the TPDEHS properties

getStrTransport()

create a string from the Transport properties

pause_warnings()

Pause all warnings until self.show_warnings is changed

printProps()

print a multiline property summary with units

printSIProps()

print a multiline property summary with SI units

printTPD()

print a string from the TPDEHS properties

printTransport()

print a string of Transport properties

restore_warnings()

Restore the self.show_warnings flag to the last pause_warnings condition

setPD(P=1000.0, D=0.01)

Calc props from P and D NOTE: The pressure has NO EFFECT on calculated temperature for incompressible density.

setTP(T=530.0, P=1000.0)

Calc props from T and P

set_warnings(show_warnings=2)

Set the show_warnings flag