Re: [問題] simulink 模擬錯誤 已回收

看板MATLAB作者 (博一新生啦!)時間15年前 (2011/03/25 19:56), 編輯推噓1(101)
留言2則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《ecko1023 (@@)》之銘言: : http://img864.imageshack.us/i/53254076dj.png/ : 圖片 : 我把文字貼上 : Derivative input 1 of 'IFOC_model/IM motor/fdr/Integrator' at time 0 is Inf : or NaN. Stopping simulation. 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). : 請問一下 這是哪裡出錯了@@ : 拜託各位大大了 meeting 生不出來了>"< 我也有類似的問題, 應該是除到零了 或是很小的數字要做積分, 會出現NAN 有沒有人可以幫忙啦~~~~ 拜託~~拜託 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.139.154.187

03/28 14:41, , 1F
這在simulink中真的蠻常見~有時候積分器的初始值不能設0
03/28 14:41, 1F

03/28 14:42, , 2F
設接近0的數字不影響模擬 試試看吧 不然把ODE45換成別的
03/28 14:42, 2F
文章代碼(AID): #1DZ8BOhs (MATLAB)
文章代碼(AID): #1DZ8BOhs (MATLAB)