First solve for initial conditions failed to converge in Simscape model

43 vues (au cours des 30 derniers jours)
Thijs van den Dungen
Thijs van den Dungen le 29 Oct 2019
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 commentaires
Ede Bánki
Ede Bánki le 16 Juil 2020
I have the same problem but with the electrical library (same EM).
Yifeng Tang
Yifeng Tang le 17 Août 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.

Connectez-vous pour commenter.

Réponses (1)

Yifeng Tang
Yifeng Tang le 28 Juin 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.

Catégories

En savoir plus sur Sources dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by