Binary Mixtures using coolprop in Matlab
26 ビュー (過去 30 日間)
古いコメントを表示
Dear All,
I need your support to know how can I create a refrigerant mixture in matlab using coolprop libraryand I'm already uploaded coolprop library into matlab:
I need to to know the specs, of this mixture,
Composition: 31.1% R1234yf, 68.9% R32
Regards
1 件のコメント
Star Strider
2023 年 8 月 9 日
I do not have Simscape (or Simscape Fluids), so I am not posting this as an answer. Searching on ‘coolprop’ brings up CoolProp to the Rescue, and searching on ‘refrigirant mixture’ brings up these results.
回答 (1 件)
Yifeng Tang
2023 年 8 月 10 日
編集済み: Walter Roberson
2023 年 8 月 10 日
Looks like you can use the MATLAB wrapper for Coolprop to define a mixture and query the properties, like below:
py.CoolProp.CoolProp.apply_simple_mixing_rule('R1234yf','R32','linear')
py.CoolProp.CoolProp.PropsSI('Dmass','T',300,'P',101325,'R1234yf[0.311]&R32[0.689]')
Reference:
2 件のコメント
Yifeng Tang
2023 年 8 月 14 日
I think that's because the mixture was defined once already in CoolProp. I got the same message if I try to run the apply_simple_mixing_rule code twice. You can comment out that line and try again, or restart MATLAB :)
参考
カテゴリ
Help Center および File Exchange で Thermal Liquid Library についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!