When I add a jumper (GS2) to my circuit, the program crashes... need correct value perhaps?...

When I add a jumper (GS2) to my circuit, the program crashes... here's the last items in the console window:


r0 srcpw net-_r0-pad2_ 1k

* u2 srcpw2 plot_v1

r2 gnd srcpw2 7k

r3 srcpw2 net-_r3-pad2_ 1k

v2 net-_r3-pad2_ gnd 10

j1 net-_j1-pad1_ gnd 1

Traceback (most recent call last):

File "projManagement Kicad.py", line 209, in openkicadToNgspice

File "frontEnd\DockArea.py", line 199, in kicadToNgspiceEditor

File "kicadtoNgspice\KicadtoNgspice.py", line 142, __init__

File "kicadtoNgspice\KicadtoNgspice.py", line 157, in createMainwindow

File "kicadtoNgspice\KicadtoNgspice.py", line 207, in createcreateConvertwidget

File "kicadtoNgspice\DeviceModel.py", line 209, in __init__

IndexError: list index out of range

need correct value the jumper j1 perhaps?... I've tried:

  • 0 / 1
  • open / closed
  • false / true

... but they all crash the program.?.

Thanks in advance for any help.

eSim 20-11-21, 10:33 p.m. George2.0

Dear George,

The option for Jumper has not been made available in eSim. You can use a Resistive or any other load in place of the jumper. The simulation will then work. If you have any more doubts, please feel free to ask.

Note: Always use components starting with eSim_. For example: eSim_sources, eSim_Devices, etc

Thank You.
Sumanto Kar

24-11-21, 11:45 a.m. Sumanto

Not having jumpers (esp when the most current version of KiCAD will support jumpers) is kindof a dealbreaker for me. In the current version of KiCAD 5.1.12_1, I can do this: (see image) [CorrectJumperSettings.v1a.png]

And, voila! … success. I tested it with both values of 1e9 (open) && 0 (closed) and it responded correctly in both regards. In addition, for completeness sake, another possibility for a closed version of the jumper would be to set Spice_Netlist_Enabled to N... I'm not sure if that's any better/worse than using a 0 Ohm resistor.?. Will eSim be updating it's dependencies?.. (i.e. eSim is a whole major version behind wrt KiCAD) Also, other software (like standard KiCAD) doesn't require the use of "special" components (like components starting with "eSim")... why does eSim?... what's inherently different between them?
24-11-21, 7:44 p.m. George2.0

Dear George,

eSim uses earlier versions of KiCAD(there is a reason for it) and the simulation is done in NgSpice. eSim is coded in python to connect KiCAD and NgSpice. Surely we will be trying to update the dependencies and various options in eSim.

There are many features in eSim like NGHDL, interface with OpenModelica and many others which are not there in KiCAD.  We also have a Pspice to KiCAD converter on our website. There are many more features upcoming.

Kindly refer to the following websites for the purspose/aim of eSim:

1) https://static.fossee.in/esim/manuals/eSim_Manual_2020_August.pdf
2) Home | eSim (fossee.in)
3) FOSSEE/eSim: This repository contain source code for new flow of FreeEDA now know as eSim (github.com)

Thanks & Regards,
Sumanto Kar

24-11-21, 8:45 p.m. Sumanto

Login to add comment

NGHDL, OpenModelica interface, and a slew of additional octordle goodies are available in eSim but not in KiCAD. On our website, you can also find a Pspice to KiCAD converter. In the near future, there will be a lot more.
05-07-22, 1:16 p.m. letterpeaceful

Log-in to answer to this question.