Two-Phase Cascade Heat Exchanger

10 vues (au cours des 30 derniers jours)
ALis
ALis le 13 Avr 2023
Commenté : Yifeng Tang le 16 Mai 2023
I have been having issues in implementing a simple 2P-2P heat exchanger that exchanges heat between 2 refrigerants (R134a and R1234yf for example). My model takes >10 minutes to compile and consistently does not converge. How would I setup and initialize a simple cascade heat exchanger like that?
Error Below
An error occurred while running the simulation and the simulation was terminated
Caused by:
['untitled/Solver Configuration']: At time 1.091055e-08, one or more assertions are triggered. See causes for specific information.
Specific internal energy at port B must be less than or equal to Maximum valid specific internal energy. The assertion comes from:
Block path: untitled/Mass Flow Rate Source (2P)1
Assert location:
o In between line: 111, column: 5 and line: 111, column: 11 in file: C:\Program Files\MATLAB\R2023a\toolbox\physmod\simscape\library\m\+foundation\+two_phase_fluid\+sources\mass_flow_source.ssc
Specific internal energy at port B2 must be less than or equal to Maximum valid specific internal energy. The assertion comes from:
Block path: untitled/System-Level Heat Exchanger (2P-2P)
Assert location:
o (location information is protected)

Réponse acceptée

Yifeng Tang
Yifeng Tang le 28 Avr 2023
Suggestion: check the parameters you've set for the heat exchanger, source, and reservoir blocks. Pay special attention to the cross section areas and mass flow rate. The error message suggests that the ideal mass source needs to raise the presure by a LOT to push through the required amount of liquid. If you try to push too much flow rate through too small pipes, such pressure raise can cause problem such as out of bound of valid max pressure or energy.
  2 commentaires
ALis
ALis le 16 Mai 2023
That was part of the answer, it also turns out that the long compile time was due to a bug with index reduction. Turning off index reduction solved the long compile time.
Yifeng Tang
Yifeng Tang le 16 Mai 2023
Thanks for the follow-up ALis. You are talking about the index reduction method in the solver configuration block, right? I've noticed the system-level heat exchanger blocks and the system-level refrigeration cycle block have this slow compilation issue, unique to R2023a I've heard. The Dev is aware. Hope it'll get fixed soon.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Thermal Liquid Library dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by