CoolProp  6.6.1dev
An open-source fluid property and humid air property database
Public Member Functions | Public Attributes | List of all members
CoolProp::EquationOfState Class Reference

Detailed Description

The core class for an equation of state.

This class holds the absolute minimum information to evaluate the equation of state. This includes the reducing state, limits on the equation of state, the coefficients for the Helmholtz derivative terms.

It does NOT include derived parameters like specific heat, enthalpy, etc.

Definition at line 418 of file CoolPropFluid.h.

#include <CoolPropFluid.h>

Public Member Functions

 EquationOfState ()
 
 ~EquationOfState ()
 
void validate ()
 Validate the EOS that was just constructed. More...
 
CoolPropDbl baser (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalphar_dDelta (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalphar_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alphar_dDelta2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alphar_dDelta_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alphar_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dDelta3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dDelta2_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dDelta_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dTau3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl base0 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalpha0_dDelta (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalpha0_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alpha0_dDelta2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alpha0_dDelta_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alpha0_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dDelta3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dDelta2_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dDelta_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dTau3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 

Public Attributes

SimpleState reduce
 Reducing state used for the EOS (usually, but not always, the critical point) More...
 
SimpleState sat_min_liquid
 The saturated liquid state at the minimum saturation temperature. More...
 
SimpleState sat_min_vapor
 The saturated vapor state at the minimum saturation temperature. More...
 
SimpleState hs_anchor
 A fixed anchor state at Tc*1.1 and rhoc*0.9 used as a reference state for enthalpy and entropy ancillary curves. More...
 
SimpleState max_sat_T
 The state at the maximum saturation temperature for pseudo-pure. More...
 
SimpleState max_sat_p
 The state at the maximum saturation pressure for pseudo-pure. More...
 
EOSLimits limits
 Limits on the EOS. More...
 
double R_u
 The universal gas constant used for this EOS (usually, but not always, 8.314472 J/mol/K) More...
 
double molar_mass
 The molar mass in kg/mol (note NOT kg/kmol) More...
 
double acentric
 The acentric factor \( \omega = -log_{10}\left(\frac{p_s(T/T_c=0.7)}{p_c}\right)-1\). More...
 
double Ttriple
 Triple point temperature (K) More...
 
double ptriple
 Triple point pressure (Pa) More...
 
bool pseudo_pure
 Is a pseudo-pure fluid (true) or pure fluid (false) More...
 
ResidualHelmholtzContainer alphar
 The residual Helmholtz energy. More...
 
IdealHelmholtzContainer alpha0
 The ideal Helmholtz energy. More...
 
std::string BibTeX_EOS
 The bibtex key for the equation of state. More...
 
std::string BibTeX_CP0
 The bibtex key for the ideal gas specific heat correlation. More...
 
CriticalRegionSplines critical_region_splines
 A cubic spline in the form T = f(rho) for saturated liquid and saturated vapor curves in the near-critical region. More...
 

Constructor & Destructor Documentation

◆ EquationOfState()

CoolProp::EquationOfState::EquationOfState ( )
inline

Definition at line 421 of file CoolPropFluid.h.

◆ ~EquationOfState()

CoolProp::EquationOfState::~EquationOfState ( )
inline

Definition at line 422 of file CoolPropFluid.h.

Member Function Documentation

◆ base0()

CoolPropDbl CoolProp::EquationOfState::base0 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 482 of file CoolPropFluid.h.

◆ baser()

CoolPropDbl CoolProp::EquationOfState::baser ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 448 of file CoolPropFluid.h.

◆ d2alpha0_dDelta2()

CoolPropDbl CoolProp::EquationOfState::d2alpha0_dDelta2 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 493 of file CoolPropFluid.h.

◆ d2alpha0_dDelta_dTau()

CoolPropDbl CoolProp::EquationOfState::d2alpha0_dDelta_dTau ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 496 of file CoolPropFluid.h.

◆ d2alpha0_dTau2()

CoolPropDbl CoolProp::EquationOfState::d2alpha0_dTau2 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 499 of file CoolPropFluid.h.

◆ d2alphar_dDelta2()

CoolPropDbl CoolProp::EquationOfState::d2alphar_dDelta2 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 459 of file CoolPropFluid.h.

◆ d2alphar_dDelta_dTau()

CoolPropDbl CoolProp::EquationOfState::d2alphar_dDelta_dTau ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 462 of file CoolPropFluid.h.

◆ d2alphar_dTau2()

CoolPropDbl CoolProp::EquationOfState::d2alphar_dTau2 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 465 of file CoolPropFluid.h.

◆ d3alpha0_dDelta2_dTau()

CoolPropDbl CoolProp::EquationOfState::d3alpha0_dDelta2_dTau ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 506 of file CoolPropFluid.h.

◆ d3alpha0_dDelta3()

CoolPropDbl CoolProp::EquationOfState::d3alpha0_dDelta3 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 503 of file CoolPropFluid.h.

◆ d3alpha0_dDelta_dTau2()

CoolPropDbl CoolProp::EquationOfState::d3alpha0_dDelta_dTau2 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 509 of file CoolPropFluid.h.

◆ d3alpha0_dTau3()

CoolPropDbl CoolProp::EquationOfState::d3alpha0_dTau3 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 512 of file CoolPropFluid.h.

◆ d3alphar_dDelta2_dTau()

CoolPropDbl CoolProp::EquationOfState::d3alphar_dDelta2_dTau ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 472 of file CoolPropFluid.h.

◆ d3alphar_dDelta3()

CoolPropDbl CoolProp::EquationOfState::d3alphar_dDelta3 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 469 of file CoolPropFluid.h.

◆ d3alphar_dDelta_dTau2()

CoolPropDbl CoolProp::EquationOfState::d3alphar_dDelta_dTau2 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 475 of file CoolPropFluid.h.

◆ d3alphar_dTau3()

CoolPropDbl CoolProp::EquationOfState::d3alphar_dTau3 ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 478 of file CoolPropFluid.h.

◆ dalpha0_dDelta()

CoolPropDbl CoolProp::EquationOfState::dalpha0_dDelta ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 486 of file CoolPropFluid.h.

◆ dalpha0_dTau()

CoolPropDbl CoolProp::EquationOfState::dalpha0_dTau ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 489 of file CoolPropFluid.h.

◆ dalphar_dDelta()

CoolPropDbl CoolProp::EquationOfState::dalphar_dDelta ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 452 of file CoolPropFluid.h.

◆ dalphar_dTau()

CoolPropDbl CoolProp::EquationOfState::dalphar_dTau ( const CoolPropDbl tau,
const CoolPropDbl delta 
)
inline

Definition at line 455 of file CoolPropFluid.h.

◆ validate()

void CoolProp::EquationOfState::validate ( )
inline

Validate the EOS that was just constructed.

Definition at line 444 of file CoolPropFluid.h.

Member Data Documentation

◆ acentric

double CoolProp::EquationOfState::acentric

The acentric factor \( \omega = -log_{10}\left(\frac{p_s(T/T_c=0.7)}{p_c}\right)-1\).

Definition at line 432 of file CoolPropFluid.h.

◆ alpha0

IdealHelmholtzContainer CoolProp::EquationOfState::alpha0

The ideal Helmholtz energy.

Definition at line 437 of file CoolPropFluid.h.

◆ alphar

ResidualHelmholtzContainer CoolProp::EquationOfState::alphar

The residual Helmholtz energy.

Definition at line 436 of file CoolPropFluid.h.

◆ BibTeX_CP0

std::string CoolProp::EquationOfState::BibTeX_CP0

The bibtex key for the ideal gas specific heat correlation.

Definition at line 439 of file CoolPropFluid.h.

◆ BibTeX_EOS

std::string CoolProp::EquationOfState::BibTeX_EOS

The bibtex key for the equation of state.

Definition at line 438 of file CoolPropFluid.h.

◆ critical_region_splines

CriticalRegionSplines CoolProp::EquationOfState::critical_region_splines

A cubic spline in the form T = f(rho) for saturated liquid and saturated vapor curves in the near-critical region.

Definition at line 441 of file CoolPropFluid.h.

◆ hs_anchor

SimpleState CoolProp::EquationOfState::hs_anchor

A fixed anchor state at Tc*1.1 and rhoc*0.9 used as a reference state for enthalpy and entropy ancillary curves.

Definition at line 426 of file CoolPropFluid.h.

◆ limits

EOSLimits CoolProp::EquationOfState::limits

Limits on the EOS.

Definition at line 429 of file CoolPropFluid.h.

◆ max_sat_p

SimpleState CoolProp::EquationOfState::max_sat_p

The state at the maximum saturation pressure for pseudo-pure.

Definition at line 428 of file CoolPropFluid.h.

◆ max_sat_T

SimpleState CoolProp::EquationOfState::max_sat_T

The state at the maximum saturation temperature for pseudo-pure.

Definition at line 427 of file CoolPropFluid.h.

◆ molar_mass

double CoolProp::EquationOfState::molar_mass

The molar mass in kg/mol (note NOT kg/kmol)

Definition at line 431 of file CoolPropFluid.h.

◆ pseudo_pure

bool CoolProp::EquationOfState::pseudo_pure

Is a pseudo-pure fluid (true) or pure fluid (false)

Definition at line 435 of file CoolPropFluid.h.

◆ ptriple

double CoolProp::EquationOfState::ptriple

Triple point pressure (Pa)

Definition at line 434 of file CoolPropFluid.h.

◆ R_u

double CoolProp::EquationOfState::R_u

The universal gas constant used for this EOS (usually, but not always, 8.314472 J/mol/K)

Definition at line 430 of file CoolPropFluid.h.

◆ reduce

SimpleState CoolProp::EquationOfState::reduce

Reducing state used for the EOS (usually, but not always, the critical point)

Definition at line 423 of file CoolPropFluid.h.

◆ sat_min_liquid

SimpleState CoolProp::EquationOfState::sat_min_liquid

The saturated liquid state at the minimum saturation temperature.

Definition at line 424 of file CoolPropFluid.h.

◆ sat_min_vapor

SimpleState CoolProp::EquationOfState::sat_min_vapor

The saturated vapor state at the minimum saturation temperature.

Definition at line 425 of file CoolPropFluid.h.

◆ Ttriple

double CoolProp::EquationOfState::Ttriple

Triple point temperature (K)

Definition at line 433 of file CoolPropFluid.h.


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