Division by zero error and Singularity error in my simulink model
조회 수: 9 (최근 30일)
이전 댓글 표시
Caused by:
- Derivative of state '1' in block 'WIND_M_PMSG_s2/Permanent Magnet Synchronous Machine/Mechanical model/Int' at time 0.0 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)
I was following a mathworks thread on similar question but i cannot see any "inf or NaN" in the model configuration.
댓글 수: 0
답변 (1개)
Sam Chak
2022년 8월 9일
Hi @BISMARK
Can you insert a picture of the Block Diagram under the Mechanical model mask?
If Simulink throws this kind of 'is not finite' error at time 0.0, this probably suggests that the singularity has occured right at the beginning of the simulation. Please check if there is any division term or unsuspecting trigonometric function like that leads to NaN.
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!