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.

parse error by initialisation

0 votes
58 views
Hallo Ladys and gentleman,

after initialising the parameters in circuits. I I got this error which I don't understand. "

Initialization commands of model 'can' cannot be evaluated: parse error:syntax error" . Did someone experience it?

thanks in advance

sara
asked Feb 25 by christi (22 points)
I have the same issue. Anyone solved it? Kris suggestion didn't work for me.
Hello, can you also post your model? You need to close statements with a semicolon and cannot have spaces in variable names, so do check those possibilities. Thanks, Kris

1 Answer

0 votes
Hello,

The first and last line contain variable assignments where the variable name has spaces, which is now allowed. You can change these to "param_ui_amp" and "param_Io_phase_offset", for example.

Regards,

Kris
answered Feb 29 by Kris Eberle (731 points)
thanks Kris u are the best :-)
...