#include <routes.h>

Inheritance diagram for dippr:

Public Member Functions

 dippr (const Value &dhvldp1, ParameterAntoine antoine, cpig_parameter cpig, dnldip_parameter dnldip)
 
Value psat (const Value &T, double *derT=nullptr, double *der2T=nullptr) override
 Vapour pressure of saturation. 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 RouteHeatVaporDippr
 RouteHeatVaporDippr (ComponentInterface *, cpig_parameter cpig)
 
void sethost (ComponentInterface *host)
 
Value hv (const Value &TT, const Value &PP) override
 Molar vapor enthalpy, J/kmol. More...
 
Value sv (const Value &TT, const Value &PP) override
 Molar vapor entropy, J/kmol/K. More...
 
Value cpv (const Value &TT, const Value &P) override
 Molar vapor cp, J/kmol/K. More...
 
- 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 RouteVolumeLiquidDippr
void sethost (ComponentInterface *host)
 
 RouteVolumeLiquidDippr (ComponentInterface *, dnldip_parameter dnldip)
 
Value rhol (const Value &T, const Value &P, double *derT=nullptr) override
 Molar liquid density, kmol/m3. 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_
 
- 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

Partial implementation of properties for dippr model. Actual properties emplementation:

  • liquid thermal properties
  • vapor-liquid saturation properties

#include <libpf/components/routes.h>

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ dippr()

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

Member Function Documentation

◆ cpl()

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

Molar liquid cp, J/kmol/K.

Implements RouteHeatLiquid.

◆ dhvl()

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

Vapour-Liquid enthalpy difference.

Implements RouteSaturation.

◆ hl()

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

Molar liquid enthalpy, J/kmol.

Implements RouteHeatLiquid.

◆ psat()

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

Vapour pressure of saturation.

Implements RouteSaturation.

◆ sl()

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

Molar liquid entropy, J/kmol/K.

Implements RouteHeatLiquid.

Member Data Documentation

◆ antoine_

ParameterAntoine dippr::antoine_
protected

◆ dhvldp1_

double dippr::dhvldp1_
protected

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