

Simulation window is not opening due to a error message showing "Error while opening Python plotting editor". I have kept the start time=0sec, step time=10ms, stop time=12sec.
I am having doubt for the ground connection, while checking electrical rules, GND connecting transistors is highlighted with green arrow, So, i am also attaching the .cir file
Below is the Kicad to ngspice message:
[INFO]: Workspace : C:\Users\hp\eSim-Workspace
[WARNING]: Please select the project first. You can either create new project or open existing project
[INFO]: The current project is C:\Users\hp\eSim-Workspace\Astable_Multivibrator_1327
[INFO]: Kicad Schematic is called for project C:\Users\hp\eSim-Workspace\Astable_Multivibrator_1327
[INFO]: Kicad to Ngspice Conversion is called
[INFO]: Current Project is C:\Users\hp\eSim-Workspace\Astable_Multivibrator_1327
[INFO]: Ngspice simulation is called : C:\Users\hp\eSim-Workspace\Astable_Multivibrator_1327
[INFO]: PythonPlotting is called : C:\Users\hp\eSim-Workspace\Astable_Multivibrator_1327
[ERROR]: Exception Message :list index out of range
[ERROR]: Exception Message : integer division or modulo by zero
Below is the .cir file:
Circuit: * c:\users\hp\esim-workspace\astable_multivibrator_1327\astable_multivibrator_1327.cir
Error on line 7 : 68k1 vin net-_68k1-pad2_ r3
unknown device type - error
Error on line 8 : 68k2 vin net-_68k2-pad2_ r4
unknown device type - error
Error on line 9 : 1k1 vin net-_1k1-pad2_ r1
unknown device type - error
Error on line 10 : 1k2 vin net-_1k2-pad2_ r2
unknown device type - error
Error on line 11 : d1 net-_d1-pad1_ net-_1k1-pad2_ led1
Unable to find definition of model led1 - default assumed
Error on line 12 : d2 net-_d2-pad1_ net-_1k2-pad2_ led2
Unable to find definition of model led2 - default assumed
Error on line 13 : q1 net-_d1-pad1_ net-_68k2-pad2_ 0 npn
Unable to find definition of model
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Warning: singular matrix: check nodes out1 and out1
Note: Starting dynamic gmin stepping
Trying gmin = 1.0000E-003 Note: One successful gmin step
Trying gmin = 1.0000E-004 Note: One successful gmin step
Trying gmin = 1.0000E-005 Note: One successful gmin step
Trying gmin = 1.0000E-006 Note: One successful gmin step
Trying gmin = 1.0000E-007 Note: One successful gmin step
Trying gmin = 1.0000E-008 Note: One successful gmin step
Trying gmin = 1.0000E-009 Note: One successful gmin step
Trying gmin = 1.0000E-010 Note: One successful gmin step
Trying gmin = 1.0000E-011 Note: One successful gmin step
Trying gmin = 1.0000E-012 Note: One successful gmin step
Trying gmin = 1.0000E-012 Note: One successful gmin step
Warning: singular matrix: check nodes out1 and out1
Warning: Dynamic gmin stepping failed
Note: Starting source stepping
Supplies reduced to 0.0000% Warning: singular matrix: check nodes out1 and out1
Trying gmin = 1.0000E-002 Note: One successful gmin step
Trying gmin = 1.0000E-003 Note: One successful gmin step
Trying gmin = 1.0000E-004 Note: One successful gmin step
Trying gmin = 1.0000E-005 Note: One successful gmin step
Trying gmin = 1.0000E-006 Note: One successful gmin step
Trying gmin = 1.0000E-007 Note: One successful gmin step
Trying gmin = 1.0000E-008 Note: One successful gmin step
Trying gmin = 1.0000E-009 Note: One successful gmin step
Trying gmin = 1.0000E-010 Note: One successful gmin step
Trying gmin = 1.0000E-011 Note: One successful gmin step
Trying gmin = 1.0000E-012 Note: One successful gmin step
Note: One successful source step
Supplies reduced to 0.1000% Warning: singular matrix: check nodes out1 and out1
Supplies reduced to 0.0000% Warning: singular matrix: check nodes out1 and out1
Warning: source stepping failed
Transient solution failed -
Last Node Voltages
------------------
Node Last Voltage Previous Iter
---- ------------ -------------
out1 0 0
net-_68k1-pad2_ 3.06406e-076 -2.44214e-090
out2 0 0
net-_68k2-pad2_ 3.06406e-076 -2.44214e-090
net-_d1-pad1_ 9.41111e-076 1.08324e-087
net-_1k1-pad2_ -1.84485e-075 -1.07715e-087
net-_d2-pad1_ 9.41111e-076 1.08324e-087
net-_1k2-pad2_ -1.84485e-075 -1.07715e-087
npn 6.27407e-076 0
vin 0 0
v1#branch 0 0
doAnalyses: iteration limit reached
run simulation(s) aborted
Error(parse.c--checkvalid): net-_1k1-pad2_: no such vector.
Error(parse.c--checkvalid): v1#branch: no such vector.
Error: no such vector v(out1)
Error: no such vector v(out2)
Error: no such vector v(vin)
ngspice 1 ->
Interrupted once . . .
Warning: clearing control structures
ngspice 1 ->
Interrupted again (ouch)
Warning: clearing control structures
ngspice 1 ->
eSim


For the Resistors, instead of assigning values, you seem to have changed the device type and entered the resistor value the.
Replace the Resistors and to assign a value to it, bring the cursor over the resistor and press V key


And what to do which Circuit don't contain resister .
And I have same problem -
[ERROR]: Exception Message :list index out of range
[ERROR]: Exception Message : integer division or modulo by zero
19-06-21, 11:43 a.m. Prashant@1336
Login to add comment