i am doing simulation in closed loop which include relational operator and showing error.
1 次查看(过去 30 天)
显示 更早的评论
Simulink cannot solve the algebraic loop containing 'matrixnew/Subsystem2/Relational Operator3' at time 1.5699290196934878E-9 using the LineSearch-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues. To rule out solver convergence as the cause of this error, either a) switch to TrustRegion-based algorithm using set_param('matrixnew','AlgebraicLoopSolver','TrustRegion') b) reducing the ode45 solver RelTol parameter so that the solver takes smaller time steps. If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification. I changed into trust region also but it then showing reverse case please suggest me the solution
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linearization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!