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')
DESIREDDY SHASHIDHAR REDDY
DESIREDDY SHASHIDHAR REDDY 2018 年 4 月 26 日
Can you describe the procedure !

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

質問済み:

2015 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by