How can I put the parameters of the 3-zone pipe (2P) model as a function?

1 回表示 (過去 30 日間)
sanghyun che
sanghyun che 2022 年 4 月 5 日
コメント済み: Yifeng Tang 2023 年 12 月 13 日
I would like to put the external heat transfer coefficient and the pipe thermal conductivity of 3-zone pipe (2p) model as a function of temperature.
In the simscape environment, it seems that only constant values are available for parameters.
If it is possible, I would like to know how input the parameters as a function.
Thank you.

採用された回答

Yifeng Tang
Yifeng Tang 2022 年 6 月 24 日
Ideally, you would modify the source code of this block to implement such functions. However, the source code of 3-zone pipe is not visible.
One possible workaround to consider: make the external heat transfer coeffcient of the pipe really large, and the wall thickness zero. As such, the thermal resistance from the external convection and wall-conduction is very small. Then implement convective heat transfer block outside the thermal port, together with thermal mass and conductive heat transfer blocks for the pipe wall. You can then modify the source codes of the convective heat transfer block and the conductive heat transfer block to make h and k as inputs (should be just a few lines of Simscape codes). Now, apply the functions you want.
  2 件のコメント
Kabo
Kabo 2023 年 12 月 12 日
This post is of 2022, is the source code for 3-zone pipe (2P) still not available?
Yifeng Tang
Yifeng Tang 2023 年 12 月 13 日
In general, the blocks in the Simscape add-on libraries (Fluids, Driveline, Electrical, etc.) do not expose the source code. All the blocks in the Simscape foundation libraries have the source code available.
So, no, the availability of the source code for this block hasn't changed in latest versions.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTwo-Phase Fluid Library についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by