|
老哥们,这怎么回事啊
An error occurred while running the simulation and the simulation was terminatedCaused by:Simulink cannot solve the algebraic loop containing 'ADRC_sim_2020_7_18/controlled member' at time 0.3273961052262962 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('ADRC_sim_2020_7_18','AlgebraicLoopSolver','TrustRegion')
b) reducing the ode15s 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. |
|