Exemplo n.º 1
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY45"
        self.description = "HyCool 45, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax =  20 + 273.15
        self.Tmin = -45 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data         = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1328.7],[-0.530754]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.578],[0.0023]])*1e3

        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.coeffs = np.array([[0.4750],[0.001674]])

        key = 'Mu'
        def funcMu(T,x):
            T = (T-self.Tbase)
            mPas = 0.08990*np.exp(479.09/(T+126.55))
            return mPas / 1e3
        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID=key,func=funcMu,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 2
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name        = "NaK"
        self.description = "Nitrate salt, heat transfer fluid based on 60% NaNO3 and 40% KNO3"
        self.reference   = "Zavoico2001"

        self.Tmin        = 300 + 273.15
        self.Tmax        = 600 + 273.15
        self.TminPsat    = self.Tmax

        self.Tbase       = 273.15

        #self.temperature.data         = self.getTrange()
        #self.concentration.data       = np.array([     0 ]) # mass fraction

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.source = self.density.SOURCE_COEFFS
        self.density.coeffs = np.array([[2090],[-0.636]])

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.coeffs = np.array([[1443],[+0.172]])

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.coeffs = np.array([[0.443],[+1.9e-4]])

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_POLYNOMIAL
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
        self.viscosity.coeffs = np.array([[22.714],[-0.120],[2.281  * 1e-4],[-1.474 * 1e-7]])/1e3
Exemplo n.º 3
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)
        
        self.name = "HY50"
        self.description = "HYCOOL 50, Potassium formate"
        self.reference = "Hydro Chemicals"

        self.Tmax =  20 + 273.15
        self.Tmin = -50 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data         = self.getTrange()
        
        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1359.0],[-0.552300]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.498],[0.0023]])*1e3
        
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.coeffs = np.array([[0.4660],[0.001610]])

        key = 'Mu'
        def funcMu(T,x):
            T = (T-self.Tbase)
            res = 0.0491*np.exp(581.12/(T+129.05))
            if T > -10: return res + 0.2
            else:       return res  
        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID=key,func=funcMu,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 4
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "HCM"
        self.description = "Hydrocarbon mixture (synthetic) - Therminol D12 (Gilotherm D12) Solutia"
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([971.725,-0.718788]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([844.023,4.31212]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([18.3237,-0.14706,0.000209096]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000153716,-1.51212e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 5
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "SAB"
        self.description = "Synthetic alkyl benzene - Marlotherm X"
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1102.34,-0.801667]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([1360.94,1.51667]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([5.21288,-0.0665792,8.5066e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000208374,-2.61667e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 6
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "TCO"
        self.description = "Terpene from citrus oils - d-Limonene"
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1071.02,-0.778166]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([223.775,5.2159]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([-3.47971,-0.0107031,1.14086e-06]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000174156,-1.85052e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 7
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "HCB"
        self.description = "Hydrocarbon blend - Dynalene MV"
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1071.78,-0.772024]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([761.393,3.52976]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([7.16819,-0.0863212,0.000130604]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000203186,-2.3869e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 8
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "HFE"
        self.description = "Hydrofluoroether - HFE-7100 3M Novec"
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1822.37,-0.918485]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([871.834,0.858788]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([-4.22878,-0.0114765,7.39823e-06]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([9.92958e-05,-8.33333e-08]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 9
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "NaK"
        self.description = "Nitrate salt, 0.6 NaNO3 and 0.4 KNO3"
        self.reference = "Zavoico2001"

        self.Tmin = 300 + 273.15
        self.Tmax = 600 + 273.15
        self.TminPsat = self.Tmax

        self.Tbase = 273.15

        #self.temperature.data         = self.getTrange()
        #self.concentration.data       = np.array([     0 ]) # mass fraction

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.source = self.density.SOURCE_COEFFS
        self.density.coeffs = np.array([[2090], [-0.636]])

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.coeffs = np.array([[1443], [+0.172]])

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.coeffs = np.array([[0.443], [+1.9e-4]])

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_POLYNOMIAL
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
        self.viscosity.coeffs = np.array([[22.714], [-0.120], [2.281 * 1e-4],
                                          [-1.474 * 1e-7]]) / 1e3
Exemplo n.º 10
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "PMS1"
        self.description = "Polydimethylsiloxan 1. - Baysilone KT3"
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1172.35,-0.9025]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([1223.69,1.48417]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([6.36183,-0.0636352,7.51428e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000207526,-2.84167e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 11
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)
        
        self.name = "HY40"
        self.description = "HYCOOL 40, Potassium formate"
        self.reference = "Hydro Chemicals"

        self.Tmax =  20 + 273.15
        self.Tmin = -40 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data         = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1304.5],[-0.512290]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.646],[0.0023]])*1e3
        
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.coeffs = np.array([[0.4826],[0.001730]])

        key = 'Mu'
        def funcMu(T,x):
            T = (T-self.Tbase)
            return 0.07830*np.exp(498.13/(T+130.25))
        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID=key,func=funcMu,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 12
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "HFE"
        self.description = "Hydrofluoroether - HFE-7100 3M Novec"
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1822.37, -0.918485]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([871.834, 0.858788]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([-4.22878, -0.0114765, 7.39823e-06]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([9.92958e-01, -8.33333e-05]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 13
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "DEB"
        self.description = "Diethylbenzene mixture - Dowtherm J Dow Chemical Co."
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1076.5, -0.731182]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([999.729, 2.87576]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([3.5503, -0.0566396, 7.03331e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.189132, -2.06364e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 14
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "TCO"
        self.description = "Terpene from citrus oils - d-Limonene"
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1071.02, -0.778166]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([223.775, 5.2159]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([-3.47971, -0.0107031, 1.14086e-06]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.174156, -1.85052e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 15
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "HCM"
        self.description = "Hydrocarbon mixture (synthetic) - Therminol D12 (Gilotherm D12) Solutia"
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([971.725, -0.718788]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([844.023, 4.31212]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([18.3237, -0.14706, 0.000209096]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.153716, -1.51212e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 16
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "HCB"
        self.description = "Hydrocarbon blend - Dynalene MV"
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1071.78, -0.772024]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([761.393, 3.52976]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([7.16819, -0.0863212, 0.000130604]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.203186, -2.3869e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 17
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "SAB"
        self.description = "Synthetic alkyl benzene - Marlotherm X"
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1102.34, -0.801667]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([1360.94, 1.51667]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([5.21288, -0.0665792, 8.5066e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.208374, -2.61667e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 18
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "PMS2"
        self.description = "Polydimethylsiloxan 2. - Syltherm XLT Dow Corning Co."
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1155.94, -1.02576]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([1153.55, 2.10788]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([5.66926, -0.065582, 8.09988e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.172305, -2.11212e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 19
0
    def __init__(self):
        CoefficientData.__init__(self) 
        PureData.__init__(self) 
        self.name = "PMS2"
        self.description = "Polydimethylsiloxan 2. - Syltherm XLT Dow Corning Co."
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1155.94,-1.02576]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([1153.55,2.10788]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([5.66926,-0.065582,8.09988e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000172305,-2.11212e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 20
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self)
        self.name = "PMS1"
        self.description = "Polydimethylsiloxan 1. - Baysilone KT3"
        self.reference = "Melinder2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.0

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.density.coeffs = IncompressibleFitter.shapeArray(
            np.array([1172.35, -0.9025]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.specific_heat.coeffs = IncompressibleFitter.shapeArray(
            np.array([1223.69, 1.48417]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _, _, self.viscosity.coeffs = IncompressibleFitter.shapeArray(
            np.array([6.36183, -0.0636352, 7.51428e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _, _, self.conductivity.coeffs = IncompressibleFitter.shapeArray(
            np.array([0000.207526, -2.84167e-04]))

        self.density.source = self.density.SOURCE_COEFFS
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
Exemplo n.º 21
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self) 
        self.name = "DEB"
        self.description = "Diethylbenzene mixture - Dowtherm J Dow Chemical Co."
        self.reference = "Melinder-BOOK-2010"

        self.Tmin = -80.0 + 273.15
        self.Tmax = 100.0 + 273.15
        self.TminPsat =  self.Tmax

        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.density.coeffs = IncompressibleFitter.shapeArray(np.array([1076.5,-0.731182]))

        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.specific_heat.coeffs = IncompressibleFitter.shapeArray(np.array([999.729,2.87576]))

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL
        _,_,self.viscosity.coeffs = IncompressibleFitter.shapeArray(np.array([3.5503,-0.0566396,7.03331e-05]))

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        _,_,self.conductivity.coeffs = IncompressibleFitter.shapeArray(np.array([0.000189132,-2.06364e-07]))
        
        self.density.source           = self.density.SOURCE_COEFFS
        self.specific_heat.source     = self.specific_heat.SOURCE_COEFFS
        self.conductivity.source      = self.conductivity.SOURCE_COEFFS
        self.viscosity.source         = self.viscosity.SOURCE_COEFFS
Exemplo n.º 22
0
    def __init__(self):
        CoefficientData.__init__(self)
        PureData.__init__(self) 
        self.name        = "NaK" 
        self.description = "NitrateSalt"
        self.reference   = "Solar Power Tower Design Basis Document,  Alexis B. Zavoico, Sandia Labs, USA"
        
        self.Tmin        = 300 + 273.15
        self.Tmax        = 600 + 273.15
        self.TminPsat    = self.Tmax 
        
        self.Tbase       = 273.15
        
        #self.temperature.data         = self.getTrange()
        #self.concentration.data       = np.array([     0 ]) # mass fraction
        
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.source = self.density.SOURCE_COEFFS
        self.density.coeffs = np.array([[2090],[-0.636]])
        
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.coeffs = np.array([[1443],[+0.172]])

        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.coeffs = np.array([[0.443],[+1.9e-4]])

        self.viscosity.type = self.viscosity.INCOMPRESSIBLE_POLYNOMIAL
        self.viscosity.source = self.viscosity.SOURCE_COEFFS
        self.viscosity.coeffs = np.array([[22.714],[-0.120],[2.281  * 1e-4],[-1.474 * 1e-7]])/1e3
        
        
Exemplo n.º 23
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY20"
        self.description = "HYCOOL 20, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax = 50 + 273.15
        self.Tmin = -20 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1202.2], [-0.42918]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.955], [0.0023]]) * 1e3

        key = 'Cond'

        def funcCond(T, x):
            T = (T - self.Tbase)
            if T <= 20: return 0.001978 * T + 0.5172
            else: return 0.001005 * T + 0.5368

        self.conductivity.xData, self.conductivity.yData, self.conductivity.data = self.getArray(
            dataID=key,
            func=funcCond,
            x_in=self.temperature.data,
            y_in=self.concentration.data,
            DEBUG=self.conductivity.DEBUG)
        self.conductivity.source = self.conductivity.SOURCE_EQUATION
        funcCond = None

        key = 'Mu'

        def funcMu(T, x):
            T = (T - self.Tbase)
            if T <= 20: return 0.07190 * np.exp(524.75 / (T + 142.05))
            else: return T * (0.0005524 * T - 0.06281) + 2.8536

        self.viscosity.xData, self.viscosity.yData, self.viscosity.data = self.getArray(
            dataID=key,
            func=funcMu,
            x_in=self.temperature.data,
            y_in=self.concentration.data,
            DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 24
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY30"
        self.description = "HyCool 30, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax = 50 + 273.15
        self.Tmin = -30 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1257.5], [-0.475350]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.783], [0.0023]]) * 1e3

        key = 'Cond'

        def funcCond(T, x):
            T = (T - self.Tbase)
            if T <= 20: return 0.001840 * T + 0.4980
            else: return 0.001000 * T + 0.5140

        self.conductivity.xData, self.conductivity.yData, self.conductivity.data = self.getArray(
            dataID=key,
            func=funcCond,
            x_in=self.temperature.data,
            y_in=self.concentration.data,
            DEBUG=self.conductivity.DEBUG)
        self.conductivity.source = self.conductivity.SOURCE_EQUATION
        funcCond = None

        key = 'Mu'

        def funcMu(T, x):
            T = (T - self.Tbase)
            if T <= 20: return 0.11100 * np.exp(408.17 / (T + 123.15))
            else: return T * (0.000295 * T - 0.0441) + 2.6836

        self.viscosity.xData, self.viscosity.yData, self.viscosity.data = self.getArray(
            dataID=key,
            func=funcMu,
            x_in=self.temperature.data,
            y_in=self.concentration.data,
            DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 25
0
    def __init__(self):
        DigitalData.__init__(self) 
        PureData.__init__(self) 

        self.name = "ExampleDigitalPure"
        self.description = "water at 100 bar"
        self.reference = "none"
        
        self.Tmin = 280.00;
        self.Tmax = 500.00;

        self.TminPsat = self.Tmin;
        
        self.temperature.data         = self.getTrange()
        self.concentration.data       = self.getxrange()
        
        import CoolProp.CoolProp as CP
        
        def funcD(T,x):
            return CP.PropsSI('D','T',T,'P',1e7,'water')
        def funcC(T,x):
            return CP.PropsSI('C','T',T,'P',1e7,'water')
        def funcL(T,x):
            return CP.PropsSI('L','T',T,'P',1e7,'water')
        def funcV(T,x):
            return CP.PropsSI('V','T',T,'P',1e7,'water')
        def funcP(T,x):
            return CP.PropsSI('P','T',T,'Q',0.0,'water')
        
        self.density.xData,self.density.yData,self.density.data = self.getArray(dataID="D", func=funcD, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.density.DEBUG)
        self.density.source           = self.density.SOURCE_EQUATION

        self.specific_heat.xData,self.specific_heat.yData,self.specific_heat.data = self.getArray(dataID="C", func=funcC, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.specific_heat.DEBUG)
        self.specific_heat.source     = self.specific_heat.SOURCE_EQUATION
        
        self.conductivity.xData,self.conductivity.yData,self.conductivity.data = self.getArray(dataID="L", func=funcL, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.conductivity.DEBUG)
        self.conductivity.source           = self.conductivity.SOURCE_EQUATION
        
        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID="V", func=funcV, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source           = self.viscosity.SOURCE_EQUATION
        
        self.saturation_pressure.xData,self.saturation_pressure.yData,self.saturation_pressure.data = self.getArray(dataID="P", func=funcP, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.saturation_pressure.DEBUG)
        self.saturation_pressure.source           = self.saturation_pressure.SOURCE_EQUATION
Exemplo n.º 26
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "ExampleDigitalPure"
        self.description = "water at 100 bar"
        self.reference = "none"

        self.Tmin = 280.00;
        self.Tmax = 500.00;

        self.TminPsat = self.Tmin;

        self.temperature.data         = self.getTrange()
        self.concentration.data       = self.getxrange()

        import CoolProp.CoolProp as CP

        def funcD(T,x):
            return CP.PropsSI('D','T',T,'P',1e7,'water')
        def funcC(T,x):
            return CP.PropsSI('C','T',T,'P',1e7,'water')
        def funcL(T,x):
            return CP.PropsSI('L','T',T,'P',1e7,'water')
        def funcV(T,x):
            return CP.PropsSI('V','T',T,'P',1e7,'water')
        def funcP(T,x):
            return CP.PropsSI('P','T',T,'Q',0.0,'water')

        self.density.xData,self.density.yData,self.density.data = self.getArray(dataID="D", func=funcD, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.density.DEBUG)
        self.density.source           = self.density.SOURCE_EQUATION

        self.specific_heat.xData,self.specific_heat.yData,self.specific_heat.data = self.getArray(dataID="C", func=funcC, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.specific_heat.DEBUG)
        self.specific_heat.source     = self.specific_heat.SOURCE_EQUATION

        self.conductivity.xData,self.conductivity.yData,self.conductivity.data = self.getArray(dataID="L", func=funcL, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.conductivity.DEBUG)
        self.conductivity.source           = self.conductivity.SOURCE_EQUATION

        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID="V", func=funcV, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source           = self.viscosity.SOURCE_EQUATION

        self.saturation_pressure.xData,self.saturation_pressure.yData,self.saturation_pressure.data = self.getArray(dataID="P", func=funcP, x_in=self.temperature.data, y_in=self.concentration.data,DEBUG=self.saturation_pressure.DEBUG)
        self.saturation_pressure.source           = self.saturation_pressure.SOURCE_EQUATION
Exemplo n.º 27
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY50"
        self.description = "HyCool 50, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax = 20 + 273.15
        self.Tmin = -50 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1359.0], [-0.552300]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.498], [0.0023]]) * 1e3

        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.coeffs = np.array([[0.4660], [0.001610]])

        key = 'Mu'

        def funcMu(T, x):
            T = (T - self.Tbase)
            res = 0.0491 * np.exp(581.12 / (T + 129.05))
            if T > -10: return res + 0.2
            else: return res

        self.viscosity.xData, self.viscosity.yData, self.viscosity.data = self.getArray(
            dataID=key,
            func=funcMu,
            x_in=self.temperature.data,
            y_in=self.concentration.data,
            DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 28
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY30"
        self.description = "HyCool 30, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax =  50 + 273.15
        self.Tmin = -30 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data         = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1257.5],[-0.475350]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.783],[0.0023]])*1e3

        key = 'Cond'
        def funcCond(T,x):
            T = (T-self.Tbase)
            if T <= 20: return 0.001840*T+0.4980
            else:       return 0.001000*T+0.5140
        self.conductivity.xData,self.conductivity.yData,self.conductivity.data = self.getArray(dataID=key,func=funcCond,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.conductivity.DEBUG)
        self.conductivity.source = self.conductivity.SOURCE_EQUATION
        funcCond = None

        key = 'Mu'
        def funcMu(T,x):
            T = (T-self.Tbase)
            if T <= 20: mPas = 0.11100*np.exp(408.17/(T+123.15))
            else:       mPas = T*(0.000295*T - 0.0441)+2.6836
            return mPas / 1e3
        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID=key,func=funcMu,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 29
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY20"
        self.description = "HYCOOL 20, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax =  50 + 273.15
        self.Tmin = -20 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data         = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1202.2],[-0.42918]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.955],[0.0023]])*1e3

        key = 'Cond'
        def funcCond(T,x):
            T = (T-self.Tbase)
            if T <= 20: return 0.001978*T+0.5172
            else:       return 0.001005*T+0.5368
        self.conductivity.xData,self.conductivity.yData,self.conductivity.data = self.getArray(dataID=key,func=funcCond,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.conductivity.DEBUG)
        self.conductivity.source = self.conductivity.SOURCE_EQUATION
        funcCond = None

        key = 'Mu'
        def funcMu(T,x):
            T = (T-self.Tbase)
            if T <= 20: mPas = 0.07190*np.exp(524.75/(T+142.05))
            else:       mPas = T*(0.0005524*T - 0.06281)+2.8536
            return mPas / 1e3
        self.viscosity.xData,self.viscosity.yData,self.viscosity.data = self.getArray(dataID=key,func=funcMu,x_in=self.temperature.data,y_in=self.concentration.data,DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 30
0
    def __init__(self):
        DigitalData.__init__(self)
        PureData.__init__(self)

        self.name = "HY45"
        self.description = "HyCool 45, Potassium formate"
        self.reference = "Hydro2000"

        self.Tmax = 20 + 273.15
        self.Tmin = -45 + 273.15
        self.TminPsat = self.Tmax
        self.Tbase = 0.00 + 273.15
        self.temperature.data = self.getTrange()

        self.density.source = self.density.SOURCE_COEFFS
        self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL
        self.density.coeffs = np.array([[1328.7], [-0.530754]])

        self.specific_heat.source = self.specific_heat.SOURCE_COEFFS
        self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL
        self.specific_heat.coeffs = np.array([[2.578], [0.0023]]) * 1e3

        self.conductivity.source = self.conductivity.SOURCE_COEFFS
        self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL
        self.conductivity.coeffs = np.array([[0.4750], [0.001674]])

        key = 'Mu'

        def funcMu(T, x):
            T = (T - self.Tbase)
            return 0.08990 * np.exp(479.09 / (T + 126.55))

        self.viscosity.xData, self.viscosity.yData, self.viscosity.data = self.getArray(
            dataID=key,
            func=funcMu,
            x_in=self.temperature.data,
            y_in=self.concentration.data,
            DEBUG=self.viscosity.DEBUG)
        self.viscosity.source = self.viscosity.SOURCE_EQUATION
        funcMu = None
Exemplo n.º 31
0
    def __init__(self):
        PureData.__init__(self)
        self.name = "ExamplePure"
        self.description = "Heat transfer fluid TherminolD12 by Solutia"
        self.reference = "Solutia data sheet"
        self.Tmax = 150 + 273.15
        self.Tmin =  50 + 273.15
        self.TminPsat =  self.Tmax

        self.density.source           = self.density.SOURCE_DATA
        self.specific_heat.source     = self.specific_heat.SOURCE_DATA
        self.conductivity.source      = self.conductivity.SOURCE_DATA
        self.viscosity.source         = self.viscosity.SOURCE_DATA
        self.saturation_pressure.source = self.saturation_pressure.SOURCE_DATA

        self.temperature.data         = np.array([   50,   60,    70,     80,    90,   100,   110,   120,   130,   140,   150])+273.15 # Kelvin
        self.density.data             = np.array([  740,   733,   726,   717,   710,   702,   695,   687,   679,   670,   662])        # kg/m3
        self.specific_heat.data       = np.array([ 2235,  2280,  2326,  2361,  2406,  2445,  2485,  2528,  2571,  2607,  2645])        # J/kg-K
        self.viscosity.data           = np.array([0.804, 0.704, 0.623, 0.556, 0.498, 0.451, 0.410, 0.374, 0.346, 0.317, 0.289])        # Pa-s
        self.conductivity.data        = np.array([0.105, 0.104, 0.102, 0.100, 0.098, 0.096, 0.095, 0.093, 0.091, 0.089, 0.087])        # W/m-K
        self.saturation_pressure.data = np.array([  0.5,   0.9,   1.4,   2.3,   3.9,   6.0,   8.7,  12.4,  17.6,  24.4,  33.2])        # Pa
        self.reshapeAll()
Exemplo n.º 32
0
 def __init__(self):
     PureData.__init__(self) 
     self.name = "ExamplePure"
     self.description = "Heat transfer fluid TherminolD12 by Solutia"
     self.reference = "Solutia data sheet"
     self.Tmax = 150 + 273.15
     self.Tmin =  50 + 273.15
     self.TminPsat =  self.Tmax
     
     self.density.source           = self.density.SOURCE_DATA
     self.specific_heat.source     = self.specific_heat.SOURCE_DATA
     self.conductivity.source      = self.conductivity.SOURCE_DATA
     self.viscosity.source         = self.viscosity.SOURCE_DATA
     self.saturation_pressure.source = self.saturation_pressure.SOURCE_DATA
     
     self.temperature.data         = np.array([   50,   60,    70,     80,    90,   100,   110,   120,   130,   140,   150])+273.15 # Kelvin
     self.density.data             = np.array([  740,   733,   726,   717,   710,   702,   695,   687,   679,   670,   662])        # kg/m3
     self.specific_heat.data       = np.array([ 2235,  2280,  2326,  2361,  2406,  2445,  2485,  2528,  2571,  2607,  2645])        # J/kg-K
     self.viscosity.data           = np.array([0.804, 0.704, 0.623, 0.556, 0.498, 0.451, 0.410, 0.374, 0.346, 0.317, 0.289])        # Pa-s
     self.conductivity.data        = np.array([0.105, 0.104, 0.102, 0.100, 0.098, 0.096, 0.095, 0.093, 0.091, 0.089, 0.087])        # W/m-K
     self.saturation_pressure.data = np.array([  0.5,   0.9,   1.4,   2.3,   3.9,   6.0,   8.7,  12.4,  17.6,  24.4,  33.2])        # Pa
     self.reshapeAll()