Hi,i have a large simulink model.sampling time specified as 500.Actually i have included some initial values as zero my model is running upto 479.85 and after that it gives an error message like this.

1 次查看(过去 30 天)
Simulink cannot solve the algebraic loop containing 'changesinpdsconstantisgiven/Force/Mul10' at time 479.85 using the TrustRegion-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 LineSearch-based algorithm using set_param('changesinpdsconstantisgiven','AlgebraicLoopSolver','LineSearch') b) reducing the fixed step size. If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Direct Search 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by