我是靠谱客的博主 呆萌大侠,最近开发中收集的这篇文章主要介绍matlab 错误使用feval_matlab仿真出现错误 consecutive zero crossings.,觉得挺不错的,现在分享给大家,希望可以做个参考。
概述
matlab仿真出现错误
An error occurred while running the simulation and the simulation was terminated
Caused by:
At time 5.9166658606763667, simulation hits (1000) consecutive zero crossings.
Consecutive zero crossings will slow down the simulation or cause the simulation to hang.
To continue the simulation, you may
1) Try using Adaptive zero-crossing detection algorithm or
2) Disable the zero crossing of the blocks shown in the following table.
--------------------------------------------------------------------------------
Number of consecutive zero-crossings : 2002
Zero-crossing signal name : Sf0
Block type : S-Function
Block path : 'A12ThewholebridgefilteringDiodeRL/powergui/EquivalentModel1/State-Space'
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Number of consecutive zero-crossings : 504
Zero-crossing signal name : LwrLim
Block type : Saturate
Block path : 'A12ThewholebridgefilteringDiodeRL/Diode4/Model/Saturation'
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Number of consecutive zero-crossings : 504
Zero-crossing signal name : LwrLim
Block type : Saturate
Block path : 'A12ThewholebridgefilteringDiodeRL/Diode1/Model/Saturation'
--------------------------------------------------------------------------------
You can turn off this message by using the MATLAB command:
set_param('A12ThewholebridgefilteringDiodeRL','MaxConsecutiveZCsMsg','none');
问题翻译
运行模拟时发生错误,模拟终止
引起的:
在时间5.9166658606763667时,模拟命中(1000)连续过零。
连续的零交叉会降低模拟速度或导致模拟挂起。
为了继续模拟,您可以
1)尝试使用自适应过零检测算法
或2)禁用如下表所示的块的过零。
--------------------------------------------------------------------------------
连续过零次数:2002
过零信号名称:Sf0
模块类型:S-Function
块路径:A12ThewholebridgefilteringDiodeRL/powergui/EquivalentModel1/状态空间
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
连续过零次数:504次
过零信号名称:LwrLim
模块类型:饱和
块路径:‘A12ThewholebridgefilteringDiodeRL/Diode4/Model/饱和度’
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
连续过零次数:504次
过零信号名称:LwrLim
模块类型:饱和
块路径:‘A12ThewholebridgefilteringDiodeRL/Diode1/Model/饱和度’
--------------------------------------------------------------------------------
您可以使用MATLAB命令关闭此消息:
set_param (' A12ThewholebridgefilteringDiodeRL ', ' MaxConsecutiveZCsMsg ', '没有');
组件:Simulink |类:模型错误
参考其他人的解决办法如下
最后
以上就是呆萌大侠为你收集整理的matlab 错误使用feval_matlab仿真出现错误 consecutive zero crossings.的全部内容,希望文章能够帮你解决matlab 错误使用feval_matlab仿真出现错误 consecutive zero crossings.所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复