parse error by initialisation

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

can.plecs (34 KB)

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

thanks Kris u are the best :slight_smile:

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