How can I use the fluid properties from Simscape Fluids in a Matlab script

5 ビュー (過去 30 日間)
Eberhard Pantow
Eberhard Pantow 2022 年 1 月 28 日
回答済み: Yifeng Tang 2022 年 7 月 1 日
I have Simscape Fluids where I use the fluid properties from the "Air Properties" and "Thermal Liquid Properties" for heat exchangers.
Now, I want to work on physical heat exchanger modelling in Matlab scripts and I want to use exactly the same fluid properties. This is important to be consistant between the two systems.
Is there any way, how I can use the Simscape Fluids properties in Matlab scripts?

回答 (1 件)

Yifeng Tang
Yifeng Tang 2022 年 7 月 1 日
Just copy the values into a MATLAB script and assign some variable names.
If you didn't change the default values, the full tables can be found in the source Simscape code of the "Properties" blocks. For example, in "C:\Program Files\MATLAB\R2022a\toolbox\physmod\simscape\library\m\+foundation\+gas\+utilities\gas_properties.ssc", you can find the default air property look-up tables. Use the "Source code" link in the dialog box of the "Properties" blocks to view.

カテゴリ

Help Center および File ExchangeUpgrading Hydraulic Models to Use Isothermal Liquid Blocks についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by