MATLAB: 2P-MA Heat Exchanger Block Not Stable

2p-ma heat exchangerSimscape Fluids

Hi, I have recently attempted to implement the 2P-MA heat exchanger block in the Simscape Fluids toolbox and the results were very unstable.
For the first case, where it is used as an evaporator, it seems fine.
For the second case, where it is used as a condenser, the results were constantly fluctuating.
What is causing this problem? I have checked the mathematical model given on the webpage and that does not seem to be the issue here.
On a side note, were these component models validated using experimental data?

Best Answer

Hello Tech
When looking at your diagram, i believe that the model is over-constrained on both 2p and MA end sides. You should prescribe the conditions at the inlet of both 2P and MA as u did, but the conditions at the outlet will be determined by the heat exchanged. It is quite difficult to set the thermodynamic conditions consistently.
Hope this helps Br Juan