[Bug 247402] Review Request: GspiceUI - A GUI to freely available Spice Electronic circuit similators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: GspiceUI - A GUI to freely available Spice Electronic circuit similators


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=247402





------- Additional Comments From cgoorah@xxxxxxxxxxxx  2007-07-10 19:41 EST -------
(In reply to comment #5)
> (I guess that Chitlesh know much and much more than me
>  about gEDA related things. He maintains most of gEDA related
>  packages on Fedora)

I wrote a simple scenario, a RC circuit. Below I'll describe how Mr Joe or 
Miss Jane will use this gspiceui.

We will simulate the charging process of a capacitor.
http://photos1.blogger.com/blogger/1480/1470/1600/fedora-xcircuit.png

http://tux.u-strasbg.fr/~chit/gspiceui/cir1.ckt describes the spice netlist of 
the RC circuit with a different voltage source. We will choose our own voltage 
source. 

mkdir gspiceui_test
copy cir1.ckt to this directory gspiceui_test
cp cir1.ckt cir2.ckt

We will work with this cir2.ckt leaving cir1.ckt as a backup.

launch gspiceui
gspiceui&

gspiceui uses either the gnucap or ngspice engine for simulation.

First of all, we will start with ngspice, because I maintain it, after if you 
want you can retry doing the procedures with gnucap.

Options -> ngspice (and wait a few secs, till gspiceui configures itself)

File -> Open -> choose cir2.ckt

now, choose "c" under "component" and choose "Transient"
then, change "stop time" to 1 sec. ONE SECOND.

You should see the following screenshot:
http://tux.u-strasbg.fr/~chit/gspiceui/gspice1.png

then choose "vin" at "Voltage Source". Next to it, is a button 
called "setup ...". Click on it. 
Fill the dialog as shown in this screenshot:
http://tux.u-strasbg.fr/~chit/gspiceui/gspice2.png 
and hit OK

Then:
Simulate -> Create
you should see this screenshot:
http://tux.u-strasbg.fr/~chit/gspiceui/gspice3.png

Then:
Simulate -> Run
you should see this screenshot:
http://tux.u-strasbg.fr/~chit/gspiceui/gspice4.png

Till now, without gwave, the user can't do more. Hence the data you saw on the 
screenshot "gspice4.png", is pretty much useless, unless Mr. Joe or Miss Jane 
knows "LabPlot".

LabPlot is already on fedora repositories. (thanks Mamuro for reviewing that 
package :))
yum install LabPlot

then launch LabPlot.

File -> Import "cir2.ngspice.tr" 
As you can see gspiceui stored the simulated data in the 
file "cir2.ngspice.tr"

see http://tux.u-strasbg.fr/~chit/gspiceui/gspice5.png
And hit OK:

you will see the data properly filled into a spreadsheet.:
http://tux.u-strasbg.fr/~chit/gspiceui/gspice6.png

Now we will plot the simulated data, which gspiceui should have done if we 
have gwave.

on labplot,
Spreadsheet -> Plot -> 2D Plot (XY)

That's it, you should see the charging curve:
http://tux.u-strasbg.fr/~chit/gspiceui/gspice7.png
http://tux.u-strasbg.fr/~chit/gspiceui/out.lpl

you can do the same way with the "gnucap" engine.
copy cir1.ckt to cir3.ckt
and start the hold process again.
I did it I'm satisfied.


In this example, we started the simulation with a netlist (a simple text 
file), but there is another way to do the simulation (from a schematic).

If the schematic is imported into gspiceui. gspiceui converts the schematic 
into a netlist with the help of gnetlist (from geda-gnetlist). Hence the 
package requires geda-gnetlist.

I'm uncertain whether gspiceui should requires:
* gnucap
or
* ngspice
or
* gnucap and ngspice.

I'll vote for both!


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]