First solve for initial conditions failed to converge in Simscape model

46 visualizaciones (últimos 30 días)
I have the following model of the recovery of refrigerant (R134A from REFPROP) from a heat exchanger to a recovery cylinder, respectively heated by a resistance and cooled by ice to induce the pressure difference. However, with the initial conditions that I set for the pressure in the heat exchanger and cylinder I get the following warning and it solves for other initial conditions:
First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Unable to satisfy all initial conditions. The variables involved are listed below. The following variables are involved in a constraint that conflicts with their targets: 'Heat_Exchanger.p_I' (Pressure of fluid volume) 'Recovery_Cylinder.p_I' (Pressure of fluid volume) Here are the equations involved: all components involved'simulation/Heat Exchanger'Equation location is: 'C:\Program Files\MATLAB\R2019b\toolbox\physmod\simscape\library\m\+foundation\+two_phase_fluid\+elements\constant_volume_chamber.ssc' (line 153) 'simulation/Recovery Cylinder'Equation location is: 'C:\Program Files\MATLAB\R2019b\toolbox\physmod\simscape\library\m\+foundation\+two_phase_fluid\+elements\constant_volume_chamber.ssc' (line 153)
Could someone help me and please tell what is going wrong?
simulink.PNG
  3 comentarios
Ede Bánki
Ede Bánki el 16 de Jul. de 2020
I have the same problem but with the electrical library (same EM).
Yifeng Tang
Yifeng Tang el 17 de Ag. de 2020
I suspect this may have to with the two "A" ports connected directly to each other, meaning there is no volume or flow resistance between them, and they have to share the same pressure, enthalpy, etc. Try adding a pipe or orifice in between and see whether things improve.

Iniciar sesión para comentar.

Respuestas (1)

Yifeng Tang
Yifeng Tang el 28 de Jun. de 2021
I suspect this may have to with the two "A" ports connected directly to each other, meaning there is no volume or flow resistance between them, and they have to share the same pressure, enthalpy, etc. Try adding a pipe or orifice in between and see whether things improve.

Categorías

Más información sobre Sources en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by