Division by zero error and Singularity error in my simulink model

4 views (last 30 days)
Division by zero in 'WIND_M_PMSG_s2/Divide1'
Caused by:
I was following a mathworks thread on similar question but i cannot see any "inf or NaN" in the model configuration.

Answers (1)

Sam Chak
Sam Chak on 9 Aug 2022
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.

Categories

Find more on Event Functions in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!