saving . . . saved
0
Unable to get details of source
Title
Question

After the generation of net list it is not displaying the source details in kicad to ngspice.


eSim 01-03-16, 9:12 a.m. ankush

Answers:

0

Dear Ankush,

Please make sure the source is selected from eSim_Source library.

Can you just copy paste the content of your *.cir and *.cir.out

01-03-16, 9:53 a.m. fahim


0

es) (part ac))

\r\n

(sheetpath (names /) (tstamps /))

\r\n

(tstamp 56c7fe0a))

\r\n

(comp (ref 1k1)

\r\n

(value r)

\r\n

(libsource (lib device) (part r))

\r\n

(sheetpath (names /) (tstamps /))

\r\n

(tstamp 56c7fe48))

\r\n

(comp (ref c1)

\r\n

(value 1u)

\r\n

(libsource (lib device) (part c))

\r\n

(sheetpath (names /) (tstamps /))

\r\n

(tstamp 56c7ff01)))

\r\n

(libparts

\r\n

(libpart (lib device) (part c)

\r\n

(description "unpolarized capacitor")

\r\n

(footprints

\r\n

(fp c?)

\r\n

(fp c_????_*)

\r\n

(fp c_????)

\r\n

(fp smd*_c)

\r\n

(fp capacitor*))

\r\n

(fields

\r\n

(field (name reference) c)

\r\n

(field (name value) c))

\r\n

(pins

\r\n

(pin (num 1) (name ~) (type passive))

\r\n

(pin (num 2) (name ~) (type passive))))

\r\n

(libpart (lib device) (part r)

\r\n

(description resistor)

\r\n

(footprints

\r\n

(fp r_*)

\r\n

(fp resistor_*))

\r\n

(fields

\r\n

(field (name reference) r)

\r\n

(field (name value) r))

\r\n

(pins

\r\n

(pin (num 1) (name ~) (type passive))

\r\n

(pin (num 2) (name ~) (type passive))))

\r\n

(libpart (lib esim_sources) (part ac)

\r\n

(footprints

\r\n

(fp 1_pin))

\r\n

(fields

\r\n

(field (name reference) v)

\r\n

(field (name value) ac)

\r\n

(field (name footprint) r1))

\r\n

(pins

\r\n

(pin (num 1) (name +) (type input))

\r\n

(pin (num 2) (name -) (type input)))))

\r\n

(libraries

\r\n

(library (logical device)

\r\n

(uri "c:\\\\program files (x86)\\\\kicad\\\\share\\\\kicad\\\\library\\\\device.lib"))

\r\n

(library (logical esim_sources)

\r\n

(uri c:\\esim\\esim\\kicadschematiclibrary\\esim_sources.lib)))

\r\n

(nets

\r\n

(net (code 1) (name out)

\r\n

(node (ref c1) (pin 1))

\r\n

(node (ref 1k1) (pin 2)))

\r\n

(net (code 2) (name in)

\r\n

(node (ref v1) (pin 1))

\r\n

(node (ref 1k1) (pin 1)))

\r\n

(net (code 3) (name gnd)

\r\n

(node (ref c1) (pin 2))

\r\n

(node (ref v1) (pin 2)))))

\r\n

.tran 10e-03 100e-03 0e-03

\r\n


\r\n

* Control Statements

\r\n

.control

\r\n

run

\r\n

print allv > plot_data_v.txt

\r\n

print alli > plot_data_i.txt

\r\n

.endc

\r\n

.end

\r\n


01-03-16, 11:26 a.m. ankush


0

(export (version D)

\r\n

(design

\r\n

(source C:\\Users\\ANKUSH\\eSim-Workspace\\TRAIL\\TRAIL.sch)

\r\n

(date "02/27/16 11:17:36")

\r\n

(tool "Eeschema (after 2015-mar-04 BZR unknown)-product")

\r\n

(sheet (number 1) (name /) (tstamps /)

\r\n

(title_block

\r\n

(title)

\r\n

(company)

\r\n

(rev)

\r\n

(date)

\r\n

(source TRAIL.sch)

\r\n

(comment (number 1) (value ""))

\r\n

(comment (number 2) (value ""))

\r\n

(comment (number 3) (value ""))

\r\n

(comment (number 4) (value "")))))

\r\n

(components

\r\n

(comp (ref v1)

\r\n

(value AC)

\r\n

(footprint R1)

\r\n

(libsource (lib eSim_Sources) (part AC))

\r\n

(sheetpath (names /) (tstamps /))

\r\n

(tstamp 56C7FE0A))

\r\n

(comp (ref 1K1)

\r\n

(value R)

\r\n

(libsource (lib device) (part R))

\r\n

(sheetpath (names /) (tstamps /))

\r\n

(tstamp 56C7FE48))

\r\n

(comp (ref C1)

\r\n

(value 1u)

\r\n

(libsource (lib device) (part C))

\r\n

(sheetpath (names /) (tstamps /))

\r\n

(tstamp 56C7FF01)))

\r\n

(libparts

\r\n

(libpart (lib device) (part C)

\r\n

(description "Unpolarized capacitor")

\r\n

(footprints

\r\n

(fp C?)

\r\n

(fp C_????_*)

\r\n

(fp C_????)

\r\n

(fp SMD*_c)

\r\n

(fp Capacitor*))

\r\n

(fields

\r\n

(field (name Reference) C)

\r\n

(field (name Value) C))

\r\n

(pins

\r\n

(pin (num 1) (name ~) (type passive))

\r\n

(pin (num 2) (name ~) (type passive))))

\r\n

(libpart (lib device) (part R)

\r\n

(description Resistor)

\r\n

(footprints

\r\n

(fp R_*)

\r\n

(fp Resistor_*))

\r\n

(fields

\r\n

(field (name Reference) R)

\r\n

(field (name Value) R))

\r\n

(pins

\r\n

(pin (num 1) (name ~) (type passive))

\r\n

(pin (num 2) (name ~) (type passive))))

\r\n

(libpart (lib eSim_Sources) (part AC)

\r\n

(footprints

\r\n

(fp 1_pin))

\r\n

(fields

\r\n

(field (name Reference) v)

\r\n

(field (name Value) AC)

\r\n

(field (name Footprint) R1))

\r\n

(pins

\r\n

(pin (num 1) (name +) (type input))

\r\n

(pin (num 2) (name -) (type input)))))

\r\n

(libraries

\r\n

(library (logical device)

\r\n

(uri "C:\\\\Program Files (x86)\\\\KiCad\\\\share\\\\kicad\\\\library\\\\device.lib"))

\r\n

(library (logical eSim_Sources)

\r\n

(uri C:\\esim\\eSim\\kicadSchematicLibrary\\eSim_Sources.lib)))

\r\n

(nets

\r\n

(net (code 1) (name out)

\r\n

(node (ref C1) (pin 1))

\r\n

(node (ref 1K1) (pin 2)))

\r\n

(net (code 2) (name in)

\r\n

(node (ref v1) (pin 1))

\r\n

(node (ref 1K1) (pin 1)))

\r\n

(net (code 3) (name GND)

\r\n

(node (ref C1) (pin 2))

\r\n

(node (ref v1) (pin 2)))))

01-03-16, 11:27 a.m. ankush

Dear Ankush,

The files you have provided is different than what I had asked.

You can find the .cir and .cir.out files under your project directory created in eSim-Workspace .

Do let us know if you are unable to locate it.


01-03-16, 5:31 p.m. fahim

Thanks, that problem has solved but it is giving error for python plot.

I am sending the same error window data.

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 net-_1k1-pad2_ and net-_1k1-pad2_

Warning: Dynamic gmin stepping failed
Note: Starting source stepping
Supplies reduced to 0.0000% Warning: singular matrix: check nodes net-_1k1-pad2_ and net-_1k1-pad2_


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 net-_1k1-pad2_ and net-_1k1-pad2_

Supplies reduced to 0.0000% Warning: singular matrix: check nodes net-_1k1-pad2_ and net-_1k1-pad2_

Warning: source stepping failed

Transient solution failed -

Last Node Voltages
------------------

Node Last Voltage Previous Iter
---- ------------ -------------
net-_1k1-pad1_ 0 0
net-_1k1-pad2_ 0 0
v1#branch 0 0


doAnalyses: iteration limit reached

run simulation(s) aborted
Error(parse.c--checkvalid): net-_1k1-pad1_: no such vector.
Error(parse.c--checkvalid): v1#branch: no such vector.
ngspice 1 ->


02-03-16, 2:14 p.m. ankush

Login to add comment


0

Yes sir I am able to find these two files. When I double click on that file new page open with the contents which I had sent you.

02-03-16, 8:04 a.m. ankush

Dear Ankush,

I think you have generated wrong netlist. Please make sure you have generated a default spice netlist.

When you open a generate netlist window click on spice tab and check default then click on Netlist button to generate spice netlist.

Do let me know if this solve your problem.

Note: Please reply using add comment button as I am not getting alert email about your reply. It looks like an issue with forum which will be fixed soon.


02-03-16, 1:55 p.m. fahim

Login to add comment


0

Thanks, that problem has solved but it is giving error for python plot.

I am sending the same error window data.

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 net-_1k1-pad2_ and net-_1k1-pad2_

Warning: Dynamic gmin stepping failed
Note: Starting source stepping
Supplies reduced to 0.0000% Warning: singular matrix: check nodes net-_1k1-pad2_ and net-_1k1-pad2_


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 net-_1k1-pad2_ and net-_1k1-pad2_

Supplies reduced to 0.0000% Warning: singular matrix: check nodes net-_1k1-pad2_ and net-_1k1-pad2_

Warning: source stepping failed

Transient solution failed -

Last Node Voltages
------------------

Node Last Voltage Previous Iter
---- ------------ -------------
net-_1k1-pad1_ 0 0
net-_1k1-pad2_ 0 0
v1#branch 0 0


doAnalyses: iteration limit reached

run simulation(s) aborted
Error(parse.c--checkvalid): net-_1k1-pad1_: no such vector.
Error(parse.c--checkvalid): v1#branch: no such vector.
ngspice 1 ->

02-03-16, 2:10 p.m. ankush

Now can you just show me the content of .cir.out file


02-03-16, 2:16 p.m. fahim

* eeschema netlist version 1.1 (spice format) creation date: 03/02/16 14:01:54

\r\n


\r\n

v1 net-_1k1-pad1_ gnd ac 2 0

\r\n

1k1 net-_1k1-pad1_ net-_1k1-pad2_ r

\r\n

c1 net-_1k1-pad2_ gnd 1u

\r\n

.tran 10e-03 100e-03 0e-03

\r\n


\r\n

* Control Statements

\r\n

.control

\r\n

run

\r\n

print allv > plot_data_v.txt

\r\n

print alli > plot_data_i.txt

\r\n

.endc

\r\n

.end


02-03-16, 2:18 p.m. ankush

Dear Ankush,

You forgot to give the value of resistance. Instead you change the Resistance from R1 to 1K. Please change the value of Resistance. You can follow the user manual. It has five solved example in the Appendix section.

You can download it from http://esim.fossee.in/downloads


02-03-16, 2:30 p.m. fahim

Sir I have already given the value of R1 1k. R1 is also showing in source.


02-03-16, 2:38 p.m. ankush

As per this line "1k1 net-_1k1-pad1_ net-_1k1-pad2_ r " in your .cir.out file you have given the Value to the resistance reference name instead of value field. The above line should be "r1 net-_1k1-pad1_ net-_1k1-pad2_ 1k"



02-03-16, 2:54 p.m. fahim

Please look at the page 23 of User Manual for more information on how to edit component values.


02-03-16, 2:57 p.m. fahim

Thanks sir finally I got the python plot window without any output.


02-03-16, 3:26 p.m. ankush

You can see the User manual on how to use python plot.


02-03-16, 3:31 p.m. fahim

Ok. I will try.


02-03-16, 3:32 p.m. ankush

Login to add comment


Log-in to answer to this question.