Tcrit

It returns the critical temperature of the working fluid.

 

Default unit: °C

 

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

T = Tcrit( FluidObj, ErrorMsg)

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

T = FluidObj.Tcrit( ErrorMsg)

 

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.

ErrorMsg:

String

 

Excel Example:

 

T = Tcrit( A1)

 

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

In Excel 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.