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

Claus Sinding
Claus Sinding 2015년 12월 17일
편집: Claus Sinding 2015년 12월 17일
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 2015년 12월 17일
편집: Claus Sinding 2015년 12월 17일
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 !

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

질문:

2015년 3월 10일

댓글:

2018년 4월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by