#include <routes.h>

Inheritance diagram for pdippr:

Public Member Functions

 pdippr (const Value &dhvldp1, ParameterAntoine antoine, cpig_parameter cpig, dnldip_parameter dnldip)
 use RouteHeatVaporDippr and RouteVolumeLiquidDippr More...
 
 pdippr (const Value &dhvldp1, ParameterAntoine antoine, ParameterVolp volp, dnldip_parameter dnldip)
 use RouteHeatVaporVolp and RouteVolumeLiquidDippr More...
 
 pdippr (const Value &dhvldp1, ParameterAntoine antoine, ParameterVolp volp)
 use RouteHeatVaporVolp and RouteVolumeLiquidWater More...
 
 ~pdippr (void)
 
Value psat (const Value &T, double *derT=nullptr, double *der2T=nullptr) override
 Vapour pressure of saturation. More...
 
Value hv (const Value &T, const Value &P) override
 Molar vapor enthalpy, J/kmol. More...
 
Value sv (const Value &T, const Value &P) override
 Molar vapor entropy, J/kmol/K. More...
 
Value cpv (const Value &T, const Value &P) override
 Molar vapor cp, J/kmol/K. More...
 
Value rhol (const Value &T, const Value &P, double *derT=nullptr) override
 Molar liquid density, kmol/m3. More...
 
Value dhvl (const Value &TT, double *derT=nullptr) override
 Vapour-Liquid enthalpy difference. More...
 
Value hl (const Value &TT, const Value &P) override
 Molar liquid enthalpy, J/kmol. More...
 
Value sl (const Value &TT, const Value &PP) override
 Molar liquid entropy, J/kmol/K. More...
 
Value cpl (const Value &TT, const Value &P) override
 Molar liquid cp, J/kmol/K. More...
 
- Public Member Functions inherited from ComponentInterface
virtual const ValueMW (void) const =0
 
virtual const ValuePc (void) const =0
 
virtual const ValueTc (void) const =0
 
virtual const Value Vc (void) const =0
 
virtual const ValueZc (void) const =0
 
virtual const Valueomega (void) const =0
 
virtual const Valuediffvol (void) const =0
 
virtual const Valuevb (void) const =0
 
virtual const Valuedh0 (void) const =0
 
virtual const Valuedg0 (void) const =0
 
- Public Member Functions inherited from RouteSaturation
 RouteSaturation (void)
 
virtual ~RouteSaturation (void)
 
virtual Value psat (const Value &T, double *derT=nullptr, double *der2T=nullptr)=0
 Vapour pressure of saturation. More...
 
virtual Value dhvl (const Value &T, double *derT=nullptr)=0
 Vapour-Liquid enthalpy difference. More...
 
- Public Member Functions inherited from RouteHeatLiquid
 RouteHeatLiquid (void)
 
virtual ~RouteHeatLiquid (void)
 
virtual Value hl (const Value &T, const Value &P)=0
 Molar liquid enthalpy, J/kmol. More...
 
virtual Value sl (const Value &T, const Value &P)=0
 Molar liquid entropy, J/kmol/K. More...
 
Value gl (const Value &T, const Value &P)
 Molar liquid Gibbs free energy, J/kmol. More...
 
virtual Value cpl (const Value &T, const Value &P)=0
 Molar liquid cp, J/kmol/K. More...
 
- Public Member Functions inherited from Diagnostic
 Diagnostic (void)
 
void setVerbosity (int verbosity)
 sets the verbosity level for this instance More...
 
int verbosity (void) const
 
- Public Member Functions inherited from RouteHeatVapor
 RouteHeatVapor (void)
 
virtual ~RouteHeatVapor (void)
 
virtual Value hv (const Value &T, const Value &P)=0
 Molar vapor enthalpy, J/kmol. More...
 
virtual Value sv (const Value &T, const Value &P)=0
 Molar vapor entropy, J/kmol/K. More...
 
Value gv (const Value &T, const Value &P)
 Molar vapor Gibbs free energy, J/kmol. More...
 
virtual Value cpv (const Value &T, const Value &P)=0
 Molar vapor cp, J/kmol/K. More...
 
- Public Member Functions inherited from RouteVolumeLiquid
 RouteVolumeLiquid (void)
 
virtual ~RouteVolumeLiquid (void)
 
virtual Value rhol (const Value &T, const Value &P, double *derT=nullptr)=0
 Molar liquid density, kmol/m3. More...
 
- Public Member Functions inherited from RouteVolumeVaporIdeal
 RouteVolumeVaporIdeal (void)
 
double p (const double rho, const double T, double *derRho=nullptr, double *derT=nullptr) override
 Vapor pressure, Pa. Requires the actual implementation of the volumetric properties. More...
 
Value rhov (const Value &T, const Value &P, double *derT=nullptr, double *derP=nullptr) override
 Molar vapor density, kmol/m3. More...
 
- Public Member Functions inherited from RouteVolumeVapor
 RouteVolumeVapor (void)
 
virtual ~RouteVolumeVapor (void)
 
virtual double p (const double rho, const double T, double *derRho=nullptr, double *derT=nullptr)=0
 Vapor pressure, Pa. Requires the actual implementation of the volumetric properties. More...
 
Value p (const Value &rrho, const Value &TT)
 Vapor pressure, Pa. More...
 
virtual Value rhov (const Value &T, const Value &P, double *derT=nullptr, double *derP=nullptr)=0
 Molar vapor density, kmol/m3. More...
 

Protected Attributes

ParameterAntoine antoine_
 
double dhvldp1_
 
RouteHeatVaporhvClass_
 pointer to the vapor thermal properties implementation model More...
 
RouteVolumeLiquidelClass_
 pointer to the liquid volumetric properties implementation model More...
 
- Protected Attributes inherited from Diagnostic
int verbosityInstance
 

Additional Inherited Members

- Protected Member Functions inherited from ComponentInterface
virtual ~ComponentInterface ()=default
 
- Protected Member Functions inherited from Diagnostic
virtual ~Diagnostic ()=default
 

Detailed Description

Delegates the implementation of dippr liquid and vapor component properties using the internal pointers hvClass_ and elClass_

#include <libpf/components/routes.h>

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ pdippr() [1/3]

pdippr::pdippr ( const Value dhvldp1,
ParameterAntoine  antoine,
cpig_parameter  cpig,
dnldip_parameter  dnldip 
)

◆ pdippr() [2/3]

pdippr::pdippr ( const Value dhvldp1,
ParameterAntoine  antoine,
ParameterVolp  volp,
dnldip_parameter  dnldip 
)

◆ pdippr() [3/3]

pdippr::pdippr ( const Value dhvldp1,
ParameterAntoine  antoine,
ParameterVolp  volp 
)

◆ ~pdippr()

pdippr::~pdippr ( void  )

Member Function Documentation

◆ cpl()

Value pdippr::cpl ( const Value T,
const Value P 
)
overridevirtual

Molar liquid cp, J/kmol/K.

Implements RouteHeatLiquid.

◆ cpv()

Value pdippr::cpv ( const Value T,
const Value P 
)
overridevirtual

Molar vapor cp, J/kmol/K.

Implements RouteHeatVapor.

◆ dhvl()

Value pdippr::dhvl ( const Value T,
double *  derT = nullptr 
)
overridevirtual

Vapour-Liquid enthalpy difference.

Implements RouteSaturation.

◆ hl()

Value pdippr::hl ( const Value T,
const Value P 
)
overridevirtual

Molar liquid enthalpy, J/kmol.

Implements RouteHeatLiquid.

◆ hv()

Value pdippr::hv ( const Value T,
const Value P 
)
overridevirtual

Molar vapor enthalpy, J/kmol.

Implements RouteHeatVapor.

◆ psat()

Value pdippr::psat ( const Value T,
double *  derT = nullptr,
double *  der2T = nullptr 
)
overridevirtual

Vapour pressure of saturation.

Implements RouteSaturation.

◆ rhol()

Value pdippr::rhol ( const Value T,
const Value P,
double *  derT = nullptr 
)
overridevirtual

Molar liquid density, kmol/m3.

Implements RouteVolumeLiquid.

◆ sl()

Value pdippr::sl ( const Value T,
const Value P 
)
overridevirtual

Molar liquid entropy, J/kmol/K.

Implements RouteHeatLiquid.

◆ sv()

Value pdippr::sv ( const Value T,
const Value P 
)
overridevirtual

Molar vapor entropy, J/kmol/K.

Implements RouteHeatVapor.

Member Data Documentation

◆ antoine_

ParameterAntoine pdippr::antoine_
protected

◆ dhvldp1_

double pdippr::dhvldp1_
protected

◆ elClass_

RouteVolumeLiquid* pdippr::elClass_
protected

pointer to the liquid volumetric properties implementation model

◆ hvClass_

RouteHeatVapor* pdippr::hvClass_
protected

pointer to the vapor thermal properties implementation model


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