How can i plot P-H Diagram with two parameter are: Pressure and Temperature( With refrigerantion system)?

18 次查看(过去 30 天)
I want to plot like that with 4 points, every point have : Pressure and Temperature

回答(2 个)

Aquatris
Aquatris 2023-10-31
You can use 'text' function to add descriptions on a plot.

Yifeng Tang
Yifeng Tang 2024-1-3
Hi Trieu,
For points outside the vapor dome, P & T uniquely determine the state. You may use Reservoir (2P) or Controlled Reservoir to prescribe the states. Just select Temperature as one of the parameters or inputs.
For that point under the vapor dome, you CANNOT use P & T to pinpoint its state. Instead, you need to specify the specific enthalpy or vapor quality to uniquely determine its state. An alternative is to assume its enthalpy is the same as condenser outlet while its pressure is the same as evaporator outlet, both of which you have previously determined. Use thermal dynamic property sensor and pressure sensor to get the h & P and prescribe those to a controlled reservoir to set the state.
For all these reservoir blocks, connect sensors to measure P & H for use in the P-H diagram block. You can also use infinite flow resistance blocks between the reservoirs so you only need one two-phase property block and solver configuration.

类别

Help CenterFile Exchange 中查找有关 Two-Phase Fluid Library 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by