kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #13778
Re: Spice netlist with netnumbers
@ jp charras,
We wanted netlist with netnumbers to simulate the circuit using Ngspice.
Ngspice is not able to recognize the netlist with netnames.
Thanks
Oscad team
On Fri, Jun 27, 2014 at 5:20 AM, Rick Walker <walker@xxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> I think the proper behavior is to use a net name if it was explicitly
> given in the schematic, otherwise use an automatically generated
> sequential integer with a possible prefix.
>
> > Using net names instead net numbers allows a easy recognition of
> > circuit lines. Thus, it is easier to write equations for to obtain
> > graphs or executing meas scripts.
>
> Yes. If I label two signals "final_output_p" and "final_output_m", I
> will expect to be able to graph them by those names. If I don't label
> them, I probably won't try to graph them in my simulation anyway.
>
> BTW, I have written a SPICE post processor that allows math expressions
> to be performed on the post processor piece-wise-linear output
> variables. You can add and subtract waveforms by saying things like:
>
> vnew = v1+v2/3
> vnew2 = max(v1,v2)
> vint = integral(vnew + vnew2)
>
> The gr command will plot any expression or waveform. Multiple
> plots are separated by ";"
>
> gr integral(delay(v1,10u)+max(v1,v3)); v5
>
> There is a collection of measurement primitives. For instance you can
> measure the time of the nth zero crossing of a signal with
>
> t1=xcross(v1,3)
>
> If you wanted to know the value of v2 at that moment you could
> say:
>
> vm = v2(t1)
>
> It's very handy for evaluating the output of SPICE runs.
>
> https://www.omnisterra.com/walker/linux/post/
>
> It uses the ascii plotting package:
>
> https://www.omnisterra.com/walker/linux/pdplot/intro.htm
>
> kind regards,
> --
> Rick Walker
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References