Mmol

It returns the molar mass of the working fluid.

 

Default unit: kg/mol

 

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

M = Mmol( FluidObj, ErrorMsg)

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

M = FluidObj.Mmol( 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:

 

M = Mmol( 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.