MATLAB电机仿真,速度极慢,出现警告
警告: You have required continuous-time simulation of a system containing switches or
nonlinear elements.
The ode23tb variable-step stiff solver with relative tolerance set to 1e-4 generally
gives best accuracy and simulation performance.
For some highly nonlinear models it may be necessary to set the "Solver reset method"
parameter to "Robust".
See "Improving Simulation Performance" chapter in SimPowerSystems documentation for
additional information on how to select an appropriate integration method.
To ignore SimPowerSystems warnings, select "Disable SimPowerSystems warnings" in the
Powergui Preferences tab.]
您已经要求对包含开关或非线性元素.一般情况下,相对公差设置为1e-4的ode23tb变步式硬化剂给出了最佳的精度和仿真性能。对于一些高度非线性的模型,可能需要设置“求解重置方法”参数为“Robest”。参见“提高仿真性能”一章
热门标签: