Hello,
I would like to report an error in Modelica.Media.Air.MoistAir.massFraction_pTphi.
I suggest the replacement of :
protected
constant Real k=0.621964713077499 "Ratio of molar masses";
AbsolutePressure psat=saturationPressure(T) "Saturation pressure";
algorithm
X_steam := phi*k/(k*phi + p/psat - phi);
by :
protected
AbsolutePressure psat=saturationPressure(T) "Saturation pressure";
algorithm
X_steam := phi*k_mair/(p/psat - phi);
Thanks !
Hello,
I would like to report an error in Modelica.Media.Air.MoistAir.massFraction_pTphi.
I suggest the replacement of :
by :
Thanks !