Message error when using a simulation

Hello i’ve run the latest version of KiCad on a pc windows 10 and the made a simple circuit with battery and resistor and then start simulation. The software prompt the following message:

ERROR: mal formed B line: bt1 net-bt1-pad1 0 9
Error: ngspice.dll cannot recover and awaits to be detached
Note: can’t find init file.

** ngspice-32 shared library
** Creation Date: Fri Jul 10 12:37:34 UTC 2020

Error: there aren’t any circuits loaded.

What do you think?

Because the battery reference designator starts with a “B”, the netlist parser will use that as the component prefix by default. “B” in SPICE3 lingo is a behavioral source, which requires a more complex definition and is not what you want here anyway. To get what you want you can either change the designator to start with a “V” instead, or you can edit the symbol properties and explicitly set its SPICE model value to a DC voltage source as shown below:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.