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.
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
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
closedversion of the jumper would be to set
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?
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:
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,
Login to add comment
Login to add comment