CoolProp integration in MATLAB

CoolProp is a C++ library for thermochemical property data. It containts almost everything thats needed. You can try it in an online version: http://ibell.pythonanywhere.com/
There is also a code wrapper for MATLAB available: http://www.coolprop.org/coolprop/wrappers/MATLAB/index.html#matlab
I tryed to install the programm with the given instruction. But when I try to run the example from the manual an error occours:
>> CoolProp.PropsSI('T','P',101325,'Q',0,'Water')
Error using CoolPropMATLAB_wrap
Mismatching name (_wrap_PropsSI) for function ID 208.
Error in CoolProp.PropsSI (line 2)
[varargout{1:max(1,nargout)}] = CoolPropMATLAB_wrap(208,'_wrap_PropsSI',varargin{:});
Does anyone has experience in integrating the CoolProp library in MATLAB?

3 commentaires

Claus Sinding
Claus Sinding le 17 Déc 2015
Modifié(e) : Claus Sinding le 17 Déc 2015
Hi
I use Coolprop in Excel (and I plan on using it in MatLab soon), and the following syntax gives me good results: Props("D";"T";15+273,15;"P";700*100;"Hydrogen")
This gives me the density of hydrogen at 15 celsius and 700 bar: 40.172 kg/m3
Claus Sinding
Claus Sinding le 17 Déc 2015
Modifié(e) : Claus Sinding le 17 Déc 2015
I just made it Work in MatLab. Here my syntax is:
CoolProp.PropsSI('D','T',273.15+15,'P',700*10^5,'Hydrogen')
Can you describe the procedure !

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by