First solve for initial conditions failed to converge in Simscape model

46 次查看(过去 30 天)
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 个评论
Yifeng Tang
Yifeng Tang 2020-8-17
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.

请先登录,再进行评论。

回答(1 个)

Yifeng Tang
Yifeng Tang 2021-6-28
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.

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by