problem linking REFPROP to MATLAB

10 vues (au cours des 30 derniers jours)
Sarsarah
Sarsarah le 18 Avr 2020
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 commentaires
Sarsarah
Sarsarah le 19 Avr 2020
it said "this site can't be reached"
Walter Roberson
Walter Roberson le 20 Avr 2020
Do you have a refprop license ?

Connectez-vous pour commenter.

Réponses (1)

Leonardo Sousa
Leonardo Sousa le 26 Nov 2020
I'm facing the same exact problem. Have you found out a solution?

Catégories

En savoir plus sur Foundation and Custom Domains dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by