acuiko

Results 5 comments of acuiko

@EricMug R454c is 21.5% R32 + 78.5% R1234YF (in weight). But in CoolProp you should specify molar fractions. I believe you calculated them wrong. R32 molecular weight is 52.02 g/mole....

@ibell Is it still possible to do that from C#? I've tried: ``` var r454c = AbstractState.factory("HEOS", "R32&R1234yf"); r454c.set_mass_fractions(new DoubleVector(new double[] { 0.215, 0.785 })); double[] moleliquid = r454c.mole_fractions_liquid().ToArray(); //result...

Seems like mole_fractions_vapor function works only after AbstracState update (should it be like that?) ``` var r454c = AbstractState.factory("HEOS", "R32&R1234yf"); r454c.set_mass_fractions(new DoubleVector(new double[] { 0.215, 0.785 })); r454c.update(input_pairs.PQ_INPUTS, 101325, 1);...

@ibell I see, it was my first attempt to use `get_mole_fractions` function: ``` var r454c = AbstractState.factory("HEOS", "R32&R1234yf"); r454c.set_mass_fractions(new DoubleVector(new double[] { 0.215, 0.785 })); var result = r454c.get_mole_fractions(); //SWIGTYPE_p_std__vectorT_CoolPropDbl_t...

@moewew looks very impressive. I wrote a comment under the commit with a few minor thoughts.