usnistgov / REFPROP-wrappers

Wrappers around NIST REFPROP for languages such as Python, MATLAB, etc.
193 stars 127 forks source link

refpropm not opening fluid files #500

Closed MaxD404 closed 1 year ago

MaxD404 commented 1 year ago

Description

I have REFPROP version 10 and MATLAB 2018a. When running refpropm to get the fluid properties for air I am getting this error.

Error using refpropm (line 302) [SETUP error 101] Error in opening file for component 1: filename = REFPROPFLUIDS/AIR.PPF in the path \asmfile\share\009 - Testing\02 - Performance Testing\10 - REFPROP\

Error in REFPROP_Troubleshoot (line 30) [h]=refpropm('H','P',101.325,'T',273.15,'AIR.PPF')

Steps to Reproduce

  1. Change the file paths in refpropm to the correct file paths for where REFPROP is located in your directory
  2. Try to calculate the density of air at 25C, 101.325 kPa

Expected behavior: refpropm outputs the density of air at 25C 101.325 kPa

Actual behavior: The code errors saying it cannot open the air fluid file

Versions

REFPROP Version: 10 Operating System and Version: Windows 11 Pro Access Method: MATLAB using refpropm

ianhbell commented 1 year ago

refpropm is deprecated and no longer supported. Please switch to the use of the Python interface for MATLAB