Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

I got error :"Derivative is infinite or NaN" when i put my parameter in synchronous generator model.

0 votes
2,691 views
asked Apr 21, 2021 by Panudech Podee (14 points)

1 Answer

0 votes

The issue is that you have defined the Q axis damper leakage inductance (Llkq') as zero.  The model uses a 1/Llkq' factor internally, resulting in the infinite derivative you're observing.

As suggested in the past, if you don't have a Q axis damper winding then set Llkq'=inf and Rkq'=0.  This will eliminate the error message.

Note that because you have a very large resistance (1e10) across the breaker, you may notice some numerical issues in the voltage when the breaker is open.  I suggest you remove the large resistance and change the machine's Model parameter to "Stator VBR" or "Full VBR".

answered Apr 21, 2021 by Bryan Lieblick (2,045 points)
edited Apr 21, 2021 by Bryan Lieblick
thanks you so much ; )
...