I want to use a solenoid valve to achieve two-phase flow on/off

2 ビュー (過去 30 日間)
Ke
Ke 2023 年 11 月 22 日
回答済み: Yifeng Tang 2024 年 1 月 2 日
Hello,I want to use a solenoid valve to achieve two-phase flow on/off, I tried to use the Orifice (2P) module, but its cross-flow area cannot be set to 0 to be fully on/off.

回答 (1 件)

Yifeng Tang
Yifeng Tang 2024 年 1 月 2 日
First, you'll almost never see a valve block to be complete "off" in a model. You'll always see a minimum area or flow fraction. This is to avoid a sudden change to the systems of equations in the middle of a simulation, so there is some good numerical reason behind this. Also, physically, a valve is never fully "off". Leakage is real. As long as the leakage is a neglible amount, you may consider the valve off.
Now, to your question. The Orifice (2P) block from the Simscape Fluids library is the right one to use. Its equations are a bit more robust than the ones in the Local Restriction block. I tends to get more stable results from Orifice (2P).

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by