Variable Kv valve model

2 ビュー (過去 30 日間)
Joris Naudin
Joris Naudin 2021 年 12 月 27 日
回答済み: Yifeng Tang 2022 年 7 月 20 日
Hi,
I looked for a variable Kv Simscape model for gas network but it seems there is none.
The closest block is the "Variable Orifice ISO 6358 (G)" but it is constant Kv.
Unfortunately, it seems that the source code isn't available.
What are my options ?
Thank you
Cheers

回答 (1 件)

Yifeng Tang
Yifeng Tang 2022 年 7 月 20 日
My suggestion would be to modify the code of a local restriction block, and move the Discharge Coefficient (Cd) from "parameter" section into "inputs" section. Save it as a custom component or build your own library from there.
https://www.mathworks.com/help/physmod/simscape/creating-custom-components.html
https://www.mathworks.com/help/physmod/simscape/simscape-file-deployment.html

カテゴリ

Help Center および File ExchangeGas Models についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by