Initial conditions solve failed to converge thermal simscape

조회 수: 8 (최근 30일)
Yasasvi Harish Kumar
Yasasvi Harish Kumar 2018년 6월 13일
댓글: Yasasvi Harish Kumar 2018년 6월 26일
I have set up a constant volume gas chamber to model the flow and I'm studying the variation of pressure and temperature within the chamber. I keep getting the following error.
An error occurred while running the simulation and the simulation was terminated Caused by: ['Charged_Cylinder/Solver Configuration']: Initial conditions solve failed to converge. all components and nodal across variables involved Cannot solve for one or more variables, including dynamic variable derivatives: Time derivative of 'Constant_Volume_Chamber_G.p_I' (Pressure of gas volume) 'Constant_Volume_Chamber_G.A.T' (Temperature) 'Constant_Volume_Chamber_G.Phi_A' (Energy flow rate into port A) 'Constant_Volume_Chamber_G.Q_H' (Heat flow rate into port H) 'Constant_Volume_Chamber_G.mdot_A' (Mass flow rate into port A) 'Constant_Volume_Chamber_G.rho_in_A' 'Controlled_Reservoir_G.A.T' (Temperature) 'Controlled_Reservoir_G.Phi_A' (Energy flow rate into port A) 'Controlled_Reservoir_G.mdot_A' (Mass flow rate into port A) 'Controlled_Reservoir_G.rho_in_A' 'Gas_Properties_G.A.T' (Temperature) 'Pressure_Temperature_Sensor_G.A.T' (Temperature) 'Pressure_Temperature_Sensor_G.T' (T)
Problems possible for transient initialization, as well as stepsize control for transient solve, due to equations of one or more components: all components involved 'Charged_Cylinder/Constant Volume Chamber (G)' Equation locations are: 'C:\Program Files\MATLAB\R2017a\toolbox\physmod\simscape\library\m\+foundation\+gas\+elements\constant_volume_chamber.ssc' (line 149) 'C:\Program Files\MATLAB\R2017a\toolbox\physmod\simscape\library\m\+foundation\+gas\+elements\constant_volume_chamber.ssc' (line 72)
'Charged_Cylinder/Controlled Reservoir (G)' Equation locations are: 'C:\Program Files\MATLAB\R2017a\toolbox\physmod\simscape\library\m\+foundation\+gas\+elements\controlled_reservoir.ssc' (line 43) 'C:\Program Files\MATLAB\R2017a\toolbox\physmod\simscape\library\m\+foundation\+gas\+elements\controlled_reservoir.ssc' (line 69)
I think the error is in the thermal reference used for the constant volume chamber. Can someone please confirm this and provide a solution for this problem? Thanks in advance.
  댓글 수: 2
Arvind Narayanan
Arvind Narayanan 2018년 6월 26일
Hi,
Can you please share the model that you are observing this error in? This will help us understand the issue you are facing. Also, are you using any PS Constant blocks in your model?
It is possible that there may be an algebraic loop in the Simscape network which can make the model more numerically sensitive and you should try to avoid it.
Thanks, Arvind
Yasasvi Harish Kumar
Yasasvi Harish Kumar 2018년 6월 26일
Hi. I was able to fix this problem by using thermal mass in place of thermal reference. I am not too sure why thermal reference was causing a problem. Thanks anyways.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Gas Models에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by