运行仿真时出错,仿真终止
原因: Derivative of state '1' in block 'LVRT2/PID Controller3/Integrator/Continuous/Integrator' at time 0.00030000000000000003 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
在时间0.00030000000000000003 时,“@#*&@#/积分器”块中状态“1”的导数不是有限的。模拟将停止。解中可能有一个奇点。如果没有,尝试减小步长(通过减小固定步长或收紧误差容限)
解决方案
加入 “ Saturation ” 模块,或者“ Avoid division by zero ” 模块,长得都一样
下图为simulin自带初始参数