How do I solve the convergence problem in Simscape?

조회 수: 9 (최근 30일)
Jin Young Heo
Jin Young Heo 2020년 2월 28일
답변: Shachindra 2023년 11월 8일
The layout is a modification of the example layout 'Steam Rankine Cycle' in Simscape.
When I run to find the steady solution first, I get a series of errors saying:
I have tried to remove the priority setting from all variables, but it fails to give me a converged steady solution.
Any recommendations on how to tackle this problem?
Thank you in advance.

답변 (1개)

Shachindra
Shachindra 2023년 11월 8일
Hello,
I am assuming that you are sharing entire error message in the snap. Based on the error message you have shared, looks like issues are concentrated in the subsystem "Steam Condenser". I am assuming you are using default initialization for individual components inside the block.
Simscape/simulink has a robust solver to handle initial conditions, yet it may fail to solve when connected components result into an inconsistent state for entire system, that is being modeled. While initializing, try avoiding huge gradients of physical signals between connected components (e.g. initial temperature of 273K and 373K at connected nodes). Additionally you can refer to the Troubleshooting Simulation Errors section of the documentation.

카테고리

Help CenterFile Exchange에서 Discrete Events and Mode Charts에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by