How do I know whether to use the 3-Zone Pipe (2P) or the 2-Zone Pipe (2P) in MATLAB R2018b?

조회 수: 8 (최근 30일)

채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 1월 18일
편집: MathWorks Support Team 2024년 2월 29일
The 3-Zone Pipe is part of Simscape Fluids, and the 2-Zone Pipe is part of the Simscape foundation library. The way to think about this is that the 3-Zone Pipe is a specialized component designed for a specific purpose, and the 2-Zone Pipe is designed for all other purposes.
The purpose of the 3-Zone Pipe can be summarized by the following sentence found in the Description section of the 3-Zone Pipe's documentation page:
"Use this block to efficiently capture, without resorting to chains of Pipe (2P) blocks, the dynamics of phase change along a pipe."
Unless you need the specific features designed for capturing the dynamics of phase change along a pipe, you do not need the 3-Zone Pipe. For example, do you need to know the length fractions of the liquid, vapor, and mixed-phase zones in the pipe? This can be observed via the output port Z of the 3-Zone Pipe. In contrast, the 2-Zone Pipe does not offer this information.
For more information, you can explore the following Simscape examples.
Example using the 2-Zone Pipe:
Example using the 3-Zone Pipe:
Run the following command to get the example documentation in MATLAB R2018b.
web(fullfile(docroot, 'physmod/hydro/examples/pipe-fluid-vaporization-and-condensation.html'))
Please follow the below link to search for the required information regarding the current release:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Two-Phase Fluid Library에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by