

Sir/Madam,
I am trying out the 'Basic RC Circuit' mentioned in the eSim User Manual (Section 9.1.1, page 57). The schema creation, annotation, Electrical Rules Check, and Netlist Generation, and conversion to KiCad to Ngspice steps are complete. The RC Analysis and RC Source Details has been entered as mentioned in the user manual. However, on pressing the 'Simulation' icon it says "Error while opening python plotting Editor." In the message window, the following error messages are seen -
\r\n\r\n
[ERROR]: Exception Message :list index out of range
\r\n[ERROR]: Exception generated : integer division or modulo by zero
Sir/Madam, as we are planning to use eSim in our course this semester, we will be very grateful if you kindly provide a solution to the problem.
Best regards,
Arup Baruah.
The .cir file is below:
* /home/abaruah/Work/eSim/Workspace/Test05/Test05.cir
* EESchema Netlist Version 1.1 (Spice format) creation date: Mon Jan 18 09:41:35 2016
* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
* Sheet Name: /
1K1 Net-_1K1-Pad1_ Net-_1K1-Pad2_ R\t\t
1u1 Net-_1K1-Pad2_ Net-_1u1-Pad2_ C\t\t
v1 Net-_1K1-Pad1_ Net-_1u1-Pad2_ sine\t\t
.end
The .cir.out file is below:
* /home/abaruah/work/esim/workspace/test05/test05.cir
1k1 net-_1k1-pad1_ net-_1k1-pad2_ r
1u1 net-_1k1-pad2_ net-_1u1-pad2_ c
v1 net-_1k1-pad1_ net-_1u1-pad2_ sine(0 2 50 0 0)
.tran 10e-03 100e-03 0e-03
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
.endc
.end
eSim




Sir,
Thank you for your prompt answer. The simulation is now working without any error.
Best regards,
Arup Baruah.


i am also getting the same problem on pressing the 'Simulation' icon it says "Error while opening python plotting Editor." i have given field values also.
I am also getting the errors like this
\r\n\r\n
[INFO]: Ngspice simulation is called : /home/eswecha/eSim-Workspace/projrc
\r\n[INFO]: PythonPlotting is called : /home/eswecha/eSim-Workspace/projrc
\r\n[ERROR]: Exception Message :[Errno 2] No such file or directory: '/home/eswecha/eSim-Workspace/projrc/plot_data_i.txt'
\r\n[ERROR]: Exception Message :local variable 'alli' referenced before assignment
\r\n[ERROR]: Exception generated : [Errno 2] No such file or directory: '/home/eswecha/eSim-Workspace/projrc/plot_data_v.txt'.
i have followed all the instructions in the manual.
the .cir file is as follows
\r\n\r\n
* /home/eswecha/eSim-Workspace/projrc/projrc.cir
\r\n
\r\n* EESchema Netlist Version 1.1 (Spice format) creation date: Thu Feb 4 15:57:42 2016
\r\n
\r\n* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
\r\n* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
\r\n
\r\n* Sheet Name: /
\r\nR1 in out 1k\t\t
\r\nC1 out GND 1u\t\t
\r\nv1 in GND sine\t\t
\r\n
\r\n.end
and the .cir.out file is as follows\r\n\r\n
* /home/eswecha/esim-workspace/projrc/projrc.cir
\r\n
\r\nv1 in gnd ac 2 0
\r\nr1 in out 1k
\r\nc1 out gnd 1u
\r\n.tran 0e-00 0e-00 0e-00
\r\n
\r\n* Control Statements
\r\n.control
\r\nrun
\r\nprint allv > plot_data_v.txt
\r\nprint alli > plot_data_i.txt
\r\n.endc
\r\n.end
\r\nPlease give me the solution for the above problem.
Thanking you sir,
\r\n
04-02-16, 4:04 p.m. yogi
Login to add comment