AllInfo

It returns the molar mass, critical point parameters and the temperature validity range of the working fluid at once.

 

Default units:

Molar mass: kg/mol,

Pressures: bar

Temperatures: °C

 

The general syntax for programs like Excel and programming languages like Fortran is:

AllInfo( FluidObj, Mmol, Tcrit, Pcrit, Tmin, TMax, ErrorMsg)

The syntax for object oriented programming languages like VB, C++ and Matlab is:

FluidObj.AllInfo(Mmol, Tcrit, Pcrit, Tmin, TMax, ErrorMsg)

The general syntax for Excel is:

AllInfo( FluidObj)

 

Arguments:

FluidObj:

In Excel it is the variable returned by SetFluid, in other programs or programming environments it is an object variable created at runtime.

Mmol:

Molar mass of the working fluid (Double)

Tcrit:

Critical temperature of the working fluid (Double)

Pcrit:

Critical pressure of the working fluid (Double)

Tmin:

Lower limit of the temperature validity range for the working fluid (Double)

Tmax:

Upper limit of the temperature validity range for the working fluid (Double)

ErrorMsg:

String

 

Excel Example:

 

AllInfo( A1)

 

Notes: A1 is a cell containing the value returned by SetFluid

The function returns an array with 5 elements.

The error message is not in the arguments list; in case an error occurs during the calculation, the value returned by the function is a string containing the error description.