about 'matlab function' using refprom to get properties of methane

Hi there,
I want to link REFPROP with Simulink for methane. The pressure and temperature of the working fluid change. I want to import the fluid properties to Simulink, considering the changing pressure and temperature. Is it possible, and how can I do that?

回答 (1 件)

Govind KM
Govind KM 2024 年 12 月 11 日

0 投票

Hi @闫,
To link REFPROP with Simulink, you will first need to link REFPROP with MATLAB, following the steps mentioned in the documentation from NIST or from Github:
Following this, REFPROP can be used within Simulink by creating a MATLAB Function block which contains MATLAB code performing REFPROP operations. An example of this workflow can be found in the following MATLAB answers post:
Hope this helps!

カテゴリ

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

質問済み:

闫
2024 年 12 月 11 日

コメント済み:

闫
2025 年 1 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by