Simscape 2P: How can I realize both varying local restriction and blocking the flow path.

9 次查看(过去 30 天)
Hello, All,
I'm designing a cooling system model using simscape two phase fluid.
The model has a "valve", whose open area is changed by a controller smoothly. On the other hand, sometimes, the controller orders to block the flow path.
I have modeled the valve using variable local restriction.
Here is a problem below. When the open area becomes very small to block the path, occurs an error saying " The pressure must be bigger than the minimum pressure."
As the error message says, the output pressure becomes very small at the time.
It is assumed that it is a wrong way to use variable local restriction to block the path.
Is there any alternatives?
  1 个评论
Yifeng Tang
Yifeng Tang 2020-8-17
Hi Kouta,
I wonder how the flow is being driven through that restriction. I've encountered this type of problem (A LOT!) if I reduce the orifice while also trying to maintain some flowrate through the restriction by "pulling", i.e. have a souce downstream of the valve. Or, is it possible that the pressure should be that low but you just didn't have that range in the fluid property?

请先登录,再进行评论。

回答(1 个)

Yifeng Tang
Yifeng Tang 2022-8-10
Besides from my comment earlier, I've found that using a custom block of a "variable flow resistance" seems to make thing easier. It adds a percentage opening to the original Flow Resistance block. Compared to the Flow Restriction block, the Flow Resistance block solves a simpler set of equations, and is much less likely to run into minimum pressure or minimum temperature error. Such error tends to happen when calculating local velocity and enthalpy.
Attached is an example of such variable resistance block.
To use a custom Simscape block:
Or

类别

Help CenterFile Exchange 中查找有关 Upgrading Hydraulic Models to Use Isothermal Liquid Blocks 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by