problem linking REFPROP to MATLAB

Hello everyone, i have some question, may you guys help me?
so, i was trying to get the value of entalphy and entrophy using REFPROP (for my multiobjective optimization), here the code:
t5 = 6+273; %in kelvin
p5 = refpropm('P','T',t5,'Q',1,'r407c.mix');
h5 = refpropm('H','T',t5,'P',p5,'r407c.mix');
s5 = refpropm('S','T',t5,'P',p5,'r407c.mix');
but i got some error, said that;
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 dont why the matlab trying to open fluid's folder, i mean i was trying with mixture, but why it's not opening the mixture folder?
if i used the refrigerant type : R134A (this is a pure fluid not mixture like R407C) it's working but when i used mixture it's not working.
thank you.

댓글 수: 5

Walter Roberson
Walter Roberson 2020년 4월 18일
Well, you can spend time debugging why it happens, or you can just go ahead and install the fluids properties.
Sarsarah
Sarsarah 2020년 4월 18일
i'm sorry but why i cant access this link https://trc.nist.gov/refprop/MINIREF/MINIREF.HTM ?
Walter Roberson
Walter Roberson 2020년 4월 18일
when I click on the link I get an HTML page that contains two links to .exe files. When I right click either exe link and ask to save link as, then I am able to download the code. What do you see when you click on the link?
Sarsarah
Sarsarah 2020년 4월 19일
it said "this site can't be reached"
Walter Roberson
Walter Roberson 2020년 4월 20일
Do you have a refprop license ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Leonardo Sousa
Leonardo Sousa 2020년 11월 26일

0 개 추천

I'm facing the same exact problem. Have you found out a solution?

카테고리

도움말 센터File Exchange에서 Foundation and Custom Domains에 대해 자세히 알아보기

태그

질문:

2020년 4월 18일

답변:

2020년 11월 26일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by