Dear Colleagues
I hope you are doing well. I want to link MATLAB and ref prop software. For the pure mixture, link works well. But when I want to calculate the mixture of ammonia and water the following error is shown:
h = refpropm('h','T',288,'P',1e2,'water','ammonia',[0.7 0.3])
Error using refpropm (line 267)
[SETUP error 101] error in opening file for component #-22; filename = (C:\Program Files (x86)\REFPROP\fluids\c12.fld).
I have tried many times until not 4:00 AM in my country but I cannot solve this problem. Also, I tried the link between EES and MATLAB but I am no succeeded in this regard too. Because I want optimize the cycle in my research.