CoolProp

CoolProp 물성 DB 및 함수 구조

heatpro 2020. 7. 11. 03:13

  • CoolProp 물성 DB

CoolProp에서는 기본적으로 「PureFluid 122종류」, 「PredefinedMixture 105종류」의 물성 DB를 보유하고 있다.

해당 DB는 다음 링크를 통해 확인 가능하다.


1. PureFluid

http://www.coolprop.org/fluid_properties/PurePseudoPure.html

2. PredefinedMixture

http://www.coolprop.org/fluid_properties/Mixtures.html





  • CoolProp 함수 구조

개요에서 설명하였듯이 CoolProp은 다양한 프로그램에서 연동되어 사용된다.

이번 장에서는 Excel VBA와 Python에서 사용하는 함수 구조를 설명할 것이다.

기본적으로 냉매는 PropsSI, 습공기는 HAPropsSI 함수를 사용하여 상태량을 계산한다.


「PropsSI」의 경우 상태량 계산을 위해 두 가지 상태량을 입력값으로 줘야하며 함수 구조는 다음과 같다.

Property_ref = PropsSI("Parameter", "Par_input_1", input_1_value, "Par_input_2", input_2_value, "Fluid_name")

<표1: 냉매의 Parameter 종류 및 설명>

ParameterUnitsInput/OutputTrivialDescription
DELTADelta IOFalseReduced density (rho/rhoc)
DMOLARDmolarmol/m^3IOFalseMolar density
DDMASSDmasskg/m^3IOFalseMass density
HMOLARHmolarJ/molIOFalseMolar specific enthalpy
HHMASSHmassJ/kgIOFalseMass specific enthalpy
PPaIOFalsePressure
Qmol/molIOFalseMass vapor quality
SMOLARSmolarJ/mol/KIOFalseMolar specific entropy
SSMASSSmassJ/kg/KIOFalseMass specific entropy
TAUTau IOFalseReciprocal reduced temperature (Tc/T)
TKIOFalseTemperature
UMOLARUmolarJ/molIOFalseMolar specific internal energy
UUMASSUmassJ/kgIOFalseMass specific internal energy
ACENTRICacentric OTrueAcentric factor
ALPHA0alpha0 OFalseIdeal Helmholtz energy
ALPHARalphar OFalseResidual Helmholtz energy
ASPEED_OF_SOUNDspeed_of_soundm/sOFalseSpeed of sound
BVIRIALBvirial OFalseSecond virial coefficient
CONDUCTIVITYLconductivityW/m/KOFalseThermal conductivity
CP0MASSCp0massJ/kg/KOFalseIdeal gas mass specific constant pressure specific heat
CP0MOLARCp0molarJ/mol/KOFalseIdeal gas molar specific constant pressure specific heat
CPMOLARCpmolarJ/mol/KOFalseMolar specific constant pressure specific heat
CVIRIALCvirial OFalseThird virial coefficient
CVMASSCvmassOJ/kg/KOFalseMass specific constant volume specific heat
CVMOLARCvmolarJ/mol/KOFalseMolar specific constant volume specific heat
CCPMASSCpmassJ/kg/KOFalseMass specific constant pressure specific heat
DALPHA0_DDELTA_CONSTTAUdalpha0_ddelta_consttau OFalseDerivative of ideal Helmholtz energy with delta
DALPHA0_DTAU_CONSTDELTAdalpha0_dtau_constdelta OFalseDerivative of ideal Helmholtz energy with tau
DALPHAR_DDELTA_CONSTTAUdalphar_ddelta_consttau OFalseDerivative of residual Helmholtz energy with delta
DALPHAR_DTAU_CONSTDELTAdalphar_dtau_constdelta OFalseDerivative of residual Helmholtz energy with tau
DBVIRIAL_DTdBvirial_dT OFalseDerivative of second virial coefficient with respect to T
DCVIRIAL_DTdCvirial_dT OFalseDerivative of third virial coefficient with respect to T
DIPOLE_MOMENTdipole_momentC mOTrueDipole moment
FH OTrueFlammability hazard
FRACTION_MAXfraction_max OTrueFraction (mole, mass, volume) maximum value for incompressible solutions
FRACTION_MINfraction_min OTrueFraction (mole, mass, volume) minimum value for incompressible solutions
FUNDAMENTAL_DERIVATIVE_OF_GAS_DYNAMICSfundamental_derivative_of_gas_dynamics OFalseFundamental derivative of gas dynamics
GAS_CONSTANTgas_constantJ/mol/KOTrueMolar gas constant
GMOLAR_RESIDUALGmolar_residualJ/mol/KOFalseResidual molar Gibbs energy
GMOLARGmolarJ/molOFalseMolar specific Gibbs energy
GWP100 OTrue100-year global warming potential
GWP20 OTrue20-year global warming potential
GWP500 OTrue500-year global warming potential
GGMASSGmassJ/kgOFalseMass specific Gibbs energy
HELMHOLTZMASSHelmholtzmassJ/kgOFalseMass specific Helmholtz energy
HELMHOLTZMOLARHelmholtzmolarJ/molOFalseMolar specific Helmholtz energy
HH OTrueHealth hazard
HMOLAR_RESIDUALHmolar_residualJ/mol/KOFalseResidual molar enthalpy
ISENTROPIC_EXPANSION_COEFFICIENTisentropic_expansion_coefficient OFalseIsentropic expansion coefficient
ISOBARIC_EXPANSION_COEFFICIENTisobaric_expansion_coefficient1/KOFalseIsobaric expansion coefficient
ISOTHERMAL_COMPRESSIBILITYisothermal_compressibility1/PaOFalseIsothermal compressibility
ISURFACE_TENSIONsurface_tensionN/mOFalseSurface tension
MMOLARMASSMOLAR_MASSMOLEMASSmolar_massmolarmassmolemasskg/molOTrueMolar mass
ODP OTrueOzone depletion potential
PCRITP_CRITICALPcritp_criticalpcritPaOTruePressure at the critical point
PHASEPhase OFalsePhase index as a float
PH OTruePhysical hazard
PIP OFalsePhase identification parameter
PMAXP_MAXP_maxpmaxPaOTrueMaximum pressure limit
PMINP_MINP_minpminPaOTrueMinimum pressure limit
PRANDTLPrandtl OFalsePrandtl number
PTRIPLEP_TRIPLEp_tripleptriplePaOTruePressure at the triple point (pure only)
P_REDUCINGp_reducingPaOTruePressure at the reducing point
RHOCRITRHOMASS_CRITICALrhocritrhomass_criticalkg/m^3OTrueMass density at critical point
RHOMASS_REDUCINGrhomass_reducingkg/m^3OTrueMass density at reducing point
RHOMOLAR_CRITICALrhomolar_criticalmol/m^3OTrueMolar density at critical point
RHOMOLAR_REDUCINGrhomolar_reducingmol/m^3OTrueMolar density at reducing point
SMOLAR_RESIDUALSmolar_residualJ/mol/KOFalseResidual molar entropy (sr/R = s(T,rho) - s^0(T,rho))
TCRITT_CRITICALT_criticalTcritKOTrueTemperature at the critical point
TMAXT_MAXT_maxTmaxKOTrueMaximum temperature limit
TMINT_MINT_minTminKOTrueMinimum temperature limit
TTRIPLET_TRIPLET_tripleTtripleKOTrueTemperature at the triple point
T_FREEZET_freezeKOTrueFreezing temperature for incompressible solutions
T_REDUCINGT_reducingKOTrueTemperature at the reducing point
VVISCOSITYviscosityPa sOFalseViscosity
Z OFalseCompressibility factor

*출처: http://www.coolprop.org/coolprop/HighLevelAPI.html#propssi-function


「HAPropsSI」의 경우 세 가지 상태량을 입력값으로 줘야하며 함수 구조는 다음과 같다. (절대습도/상대습도 둘 중 하나는 반드시 들어가야 함.)

Property_air = HAPropsSI("Parameter", "Par_input_1", input_1_value, "Par_input_2", input_2_value, "Par_input_3", input_3_value)

<표2: 공기의 Parameter 종류 및 설명>

ParameterUnitsInput/OutputDescription
BTwbT_wbWetBulbKInput/OutputWet-Bulb Temperature
CcpJ/kg dry air/KOutputMixture specific heat per unit dry air
Chacp_haJ/kg humid air/KOutputMixture specific heat per unit humid air
CVJ/kg dry air/KOutputMixture specific heat at constant volume per unit dry air
CVhacv_haJ/kg humid air/KOutputMixture specific heat at constant volume per unit humid air
DTdpDewPointT_dpKInput/OutputDew-Point Temperature
HHdaEnthalpyJ/kg dry airInput/OutputMixture enthalpy per dry air
HhaJ/kg humid airInput/OutputMixture enthalpy per humid air
KkConductivityW/m/KOutputMixture thermal conductivity
MViscmuPa-sOutputMixture viscosity
psi_wYmol water/mol humid airInput/OutputWater mole fraction
PPaInputPressure
P_wPaInputPartial pressure of water vapor
RRHRelHum Input/OutputRelative humidity in [0, 1]
SSdaEntropyJ/kg dry air/KInput/OutputMixture entropy per unit dry air
ShaJ/kg humid air/KInput/OutputMixture entropy per unit humid air
TTdbT_dbKInput/OutputDry-Bulb Temperature
VVda3 /kg dry airInput/OutputMixture volume per unit dry air
Vha3 /kg humid airInput/OutputMixture volume per unit humid air
WOmegaHumRatkg water/kg dry airInput/OutputHumidity Ratio
Z

Output

Compressibility factor (Z = pv/(RT))

*출처: http://www.coolprop.org/fluid_properties/HumidAir.html


추가로 「Excel」에서는 냉매의 경우 PhaseSI 로 유체의 상(phase)을 구하거나 Props1SI 로 임계점(critical point)을 계산할 수 있으며,

「Python」에서는 PropsSI 에서 "Phase" 를 입력하여 유체의 상(phase)을 구하거나, "p_critical" 을 입력하여 임계점(critical point)을 계산할 수 있다.

해당 내용은 뒤에서 자세히 다루도록 하자.

반응형