CalcDewT

Top  Previous  Next

This function perform a dew temperature calculation.

 

The function works only for non-polymer systems and can handle only VLE points.

 

 

This function is defined in C++ as:

extern "C" __declspec(dllexport) int __stdcall CalcDewT(double Pressure, int PointType, double MinimumTemperature, double MaximumTemperature)

       

Return

The function return -1 if no problem was found. If a different number is returned use the function ErrorGetMessage for more information.

 

Input

Argument

Type

Units

Description

Pressure

double

User defined

Default: Bar

Temperature to use in calculation

 

PointType

 

int

 

[-]

Type of point to look for. Valid input are:

0 (Auto)
1 (LLE)
2 (VLE)

 

MinimumTemperature

 

double

User defined

Default: Kelvin

Note: Polymer systems only.

Smallest possible bubble temperature to look for.

 

MaximumTemperature

 

double

User defined

Default: Kelvin

Note: Polymer systems only.

Biggest possible bubble temperature to look for.

Note that the value can go outside the physical range.

 

Code examples

Example