Hi everybody,
I’m getting a parsing error when importing the WAB300M12BM3 SPICE netlist into PLECS.
As shown in my attached screenshot, the parser flags line 144 with the following message:
It seems like the PLECS netlist parser is having trouble with the differential voltage syntax V(G,S)=0 inside the .IC statement.
Could anyone guide me on how to properly format this initial condition so that PLECS can parse it successfully, or should I modify/remove this statement. If it’s not strictly necessary for the simulation?
Thank you in advance for your help:)
The syntax
.IC V(G,S)=0
is not supported by the PLECS Spice parser. In PLECS, .IC statements use the legacy form
.IC V(node)=value
or
.IC I(inductorName)=value
and are intended for initial conditions of certain capacitors and inductors [.IC Statement — PLECS 5.0 Documentation].
For this Wolfspeed model, I would first try commenting out or removing that line. A gate-source initial voltage of 0 V is usually just a default starting condition, and the gate-source voltage should be determined by the connected gate drive and circuit during simulation.
If an initial condition is really required, it would need to be rewritten in a supported, node-referenced form. For example, V(G)=0 is syntactically valid, but it is only equivalent to V(G,S)=0 if node S is ground. Otherwise, it changes the meaning and should not be used as a direct replacement.