adams和matlab联合仿真报错
按照网上的教程http://wenku.baidu.com/link?url=Xnc8ifbHvAxbGjIdxKmDPqz_TUIWsDGawXKIug6pnGnDQk...
按照网上的教程http://wenku.baidu.com/link?url=Xnc8ifbHvAxbGjIdxKmDPqz_TUIWsDGawXKIug6pnGnDQkMhcqfCgWu4DCAqKIgWMDJ3bANdo-FoTKz0rUv6B4_HLpPMsoWCDuJRxGBZLMi
进行仿真,MATLAB报错。如下
Simulink cannot solve the algebraic loop containing 'control_model/adams_sub/ADAMS Plant/S-Function' at time 0.0005 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, eithera) switch to LineSearch-based algorithm usingset_param('control_model','AlgebraicLoopSolver','LineSearch')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.
我用的是adams2014 matlab2012b
求各位大神指点 展开
进行仿真,MATLAB报错。如下
Simulink cannot solve the algebraic loop containing 'control_model/adams_sub/ADAMS Plant/S-Function' at time 0.0005 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, eithera) switch to LineSearch-based algorithm usingset_param('control_model','AlgebraicLoopSolver','LineSearch')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.
我用的是adams2014 matlab2012b
求各位大神指点 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询