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.

Error when using python script to simulate plecs

0 votes

computer system version :windows 10 professional

python version : 3.7.0

PLECS version :4.3.6

Hi, when I was using the python script to simulate PLECS model ( a CLLC resonant DAB with dead time effect), this error occured occasionally:

Error in component 'cllc17/Crt_DAB/SL/Turn-on Delay': Initialization commands cannot be evaluated: load: unable to find file C:\Program Files\Plexim\PLECS 4.3 (64 bit)\octave\share\octave\octave_packages. The PLECS just got stuck and there wasn't any output or simulation data on the scope.

Then, I restarted PLECS and got this error:

Error in component 'cllc16/Crt_DAB/SL/Turn-on Delay' Initialization commands cannot be evaluated: unable to get last error description.

HOWEVER, when I copied the same circuit and created a new file, it worked fine.

I am wondering how this happens and what can I do to avoid such error.

asked Mar 3 by lzx (12 points)
edited Mar 4 by lzx

Unfortunately we at Plexim can't help much without your Python file, but since that is an external tool the issue may also be outside the scope of our support.


Please log in or register to answer this question.