# First solve for initial conditions failed to converge in Simscape model

조회 수: 29(최근 30일)
Thijs van den Dungen 2019년 10월 29일
답변: Yifeng Tang 2021년 6월 28일
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?
##### 댓글 수: 3표시숨기기 이전 댓글 수: 2
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 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.

댓글을 달려면 로그인하십시오.

R2019b

### Community Treasure Hunt

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

Start Hunting!

Translated by