Calculation of nitrogen fugacity coefficient extracted from EES
function fugacity_pTX input SI.Pressure p; input SI.Temp_K T; input MassFraction X[:] = reference_X "Mass fractions"; input String substancename; output Real phi; end fugacity_pTX;