Does simscape two-phase element "2P pipe" allows constant temperature , constant pressure and constant mass flow rate as inputs?

2 views (last 30 days)
I developed a condenser model with simscape two-phase elements. But when I tried to define boundary conditions of the condenser, I found it difficult to give inputs like a real system. For intance, generally we should input refrigerant mass flow rate, temperature and pressure to the condenser. But in simscape I can only input mass flow rate. The "temperaure source" block cannot be connected to "2P pipe" block.

Answers (1)

Yifeng Tang
Yifeng Tang on 1 Feb 2023
The source block is only responsible of driving a flow. The states, temperature and/or pressure, are set mainly by the conditions in the upstream reservoir.
In your model right now, the flow has no where to go though. You'll need another reservoir at the end of the pipe to "receive" the flow. Otherwise the mass flowrate source you have in the model will drive flow into the pipes and cause the pressure, likely also temperature, to go higher without bound until the simulation fails.

Categories

Find more on Two-Phase Fluid Library in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!