Clear Filters
Clear Filters

Variable Kv valve model

5 views (last 30 days)
Joris Naudin
Joris Naudin on 27 Dec 2021
Answered: Yifeng Tang on 20 Jul 2022
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

Answers (1)

Yifeng Tang
Yifeng Tang on 20 Jul 2022
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.


Find more on Gas Models in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!