usnistgov / REFPROP-wrappers

Wrappers around NIST REFPROP for languages such as Python, MATLAB, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convergence error using refprop.m close to saturation lines

jillblouse opened this issue · comments

It has been a while since I use refprop.m from REFPROP 10 in my simulation model in MATLAB. But mostly for fluid such as refrigerants and so, if the condition is close to 2-phase area, in iterations it can happen that the guesses gets in the 2-phase region and I get the error message and the model cannot run further. Since it is an iteration, the program supposed to ignore the error and either go back one step or make another guess to complete the iteration. So the question is how I can go around this error or ignore it somehow?

  1. The refpropm interface is deprecated, please migrate to the python interface for MATLAB
  2. Please provide a runnable example demonstrating the problem, otherwise we have no idea where to start debugging
  1. Please see https://github.com/usnistgov/REFPROP-wrappers/tree/master/wrappers/MATLAB . The refpropm interface is no longer supported, and has not been for a few years now.
  2. Please provide a runnable example of your failures.