usnistgov / REFPROP-issues

A repository solely used for reporting issues with NIST REFPROP
26 stars 13 forks source link

Plot > T-x Diagram and P-x Diagram always in mole fraction #674

Open ThukeS opened 4 months ago

ThukeS commented 4 months ago

When either mole or mass basis is chosen in Options > Units > Composition, plots rendered in Plot > T-x Diagram or P-x Diagram are always in mole fraction, however, the x-axis label will reflect the choice. So when mass fraction is chosen, the display is in spurious.

The attached image shows this for the arbitrarily chosen binary R-134a / Propane. The python plots are what I would expect to be rendered.

image mole_v_mass_frac_REFPROP-TPxy

ianhbell commented 4 months ago

Yes, this a known bug in the GUI; the plots are always on a molar basis.