为什么在模型中两项物性参数运行无误 而在一起调用refp​rop就会出现问题呢​(注释掉运行没有问题​,取消注释后出现it​eration did not converge,且调用物性模块出现Error in 'steam_sep​arator/汽水分​离器(一级疏水)/P​_DH' while evaluating expression.

17 ビュー (過去 30 日間)
支
2023 年 3 月 28 日
回答済み: Himanshu 2024 年 1 月 18 日

回答 (1 件)

Himanshu
Himanshu 2024 年 1 月 18 日
Hey,
I understand that you are encountering an error when trying to call REFPROP, but your model runs well when you comment it out.
A .dll file, as well as several other MATLAB files, must be downloaded separately for the primary installation of REFPROP, please use the link below to see the installation instructions:
Please click the hyper-linked files on this webpage to download these files and move them into your REFPROP installation folder (C:/Program Files (x86)/REFPROP).
Once these files are in your folder, execute the following commands to determine if your installation is set up correctly:
>> refpropm('T','P',101.325,'Q',0,'WATER')
>> waterTables = twoPhaseFluidTables([25,4000],[0.01,15],25,25,60,'water','C:\Program Files\REFPROP\')
Hope this helps!

カテゴリ

Help Center および File Exchange安装和许可简介 についてさらに検索

Community Treasure Hunt

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

Start Hunting!