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.
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: