• LT spice speed

    From john larkin@jl@glen--canyon.com to sci.electronics.design on Sun Aug 17 19:35:49 2025
    From Newsgroup: sci.electronics.design


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Edward Rawde@invalid@invalid.invalid to sci.electronics.design on Sun Aug 17 22:50:37 2025
    From Newsgroup: sci.electronics.design

    "john larkin" <jl@glen--canyon.com> wrote in message news:k645aktmkvfh08rf1em4ea8qh1f3temqck@4ax.com...

    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    I'd export the netlist before and after moving the power supplies.
    If the files are exactly the same then it's hard to see why the simulation would be different.




    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bill Sloman@bill.sloman@ieee.org to sci.electronics.design on Mon Aug 18 23:18:40 2025
    From Newsgroup: sci.electronics.design

    On 18/08/2025 12:50 pm, Edward Rawde wrote:
    "john larkin" <jl@glen--canyon.com> wrote in message news:k645aktmkvfh08rf1em4ea8qh1f3temqck@4ax.com...

    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    I'd export the netlist before and after moving the power supplies.
    If the files are exactly the same then it's hard to see why the simulation would be different.

    He's right. If you moved the parts and got a change in simulation speed,
    you must have changed the net-list. I'd look for a typo in the name of
    one of the 3.3V power rails. It probably won't treat "3.3V" as if were connected to "3.3 V", but that's merely the first place to look.
    --
    Bill Sloman, Sydney


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Mon Aug 18 06:59:07 2025
    From Newsgroup: sci.electronics.design

    On Sun, 17 Aug 2025 22:50:37 -0400, "Edward Rawde"
    <invalid@invalid.invalid> wrote:

    "john larkin" <jl@glen--canyon.com> wrote in message news:k645aktmkvfh08rf1em4ea8qh1f3temqck@4ax.com...

    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    I'd export the netlist before and after moving the power supplies.
    If the files are exactly the same then it's hard to see why the simulation would be different.




    I had one sim that was running picoseconds per second. I added a 1K
    resistor that was just grounded on one end and increased sim speed
    about 7 orders of magnitude.

    Changing a resistor from 50 ohms to 51 can have the same effect.

    LT Spice seems to be a chaotic system where tiny changes can grossly
    affect convergence. Moving a part will change the ordering of the net
    list and change the matrix. Butterfly effect.

    I wonder if comments can do that too.

    LT lets me set a max time step but not a min. Better yet, it should
    let me specify a fixed time step.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Joe Gwinn@joegwinn@comcast.net to sci.electronics.design on Mon Aug 18 11:01:44 2025
    From Newsgroup: sci.electronics.design

    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    It sounds like some matrix in Spice is very close to singular. Then
    it can become chaotic. And dependent on the phase of the moon.

    Joe
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bill Sloman@bill.sloman@ieee.org to sci.electronics.design on Tue Aug 19 03:13:14 2025
    From Newsgroup: sci.electronics.design

    On 19/08/2025 1:01 am, Joe Gwinn wrote:
    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    It sounds like some matrix in Spice is very close to singular. Then
    it can become chaotic. And dependent on the phase of the moon.

    I don't think that there's any matrix inversion in Spice. It's just
    numerical integration of a lot of parallel differential equations.

    The problem with numerical integration is that you have to keep the time
    step small enough that none of the differential equations - even the
    fastest moving outputs - can run away.

    I wrote such a numerical integration program to model the gas phase
    chemical reaction I studied for my Ph.D. project (and extended it to
    cover gas flows and self-heating that accompanied the reaction). I ended
    up putting in tests for run-away on every step (which was recommended
    in the textbooks I was working from, and didn't slow the program significantly).

    Of course I ended using the program to extract rate constants from experimental data, and a non-linear multiparameter least square curve
    fitting program adjusted the rate constant (along with the starting and equilibrium concentrations) until I had computed curves (about 80 of
    them) that matched my experimental data.

    Spice integrates a lot more differential equations than I ever did.

    Mike Engelhart talked about cutting a few corners in LTSpice tp speed it up.

    John Larkin's problem may be that he doesn't seem to bother putting in parallel capacitances and equivalent series resistances in a lot of his components, and some of them may end up getting together as unintended
    very high frequency resonators, needing very small step sizes.

    How his floating 1k resistor grounded at one end might have killed such
    a resonance isn't obvious - one would imagine that there'd have to have
    been a typo-generated invisible (and unsuspected) link for that to happen.
    --
    Bill Sloman, Sydney

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Buzz McCool@buzz_mccool@yahoo.com to sci.electronics.design on Mon Aug 18 14:04:09 2025
    From Newsgroup: sci.electronics.design

    On 8/18/2025 6:59 AM, john larkin wrote:
    ...
    LT Spice seems to be a chaotic system where tiny changes can grossly
    affect convergence. Moving a part will change the ordering of the net
    list and change the matrix. Butterfly effect.

    I recall some past discussions you had with folks in this group about using alternatives to LTSpice.


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Klaus Kragelund@klauskvik@hotmail.com to sci.electronics.design on Mon Aug 18 23:31:47 2025
    From Newsgroup: sci.electronics.design

    On 18/08/2025 15:59, john larkin wrote:
    On Sun, 17 Aug 2025 22:50:37 -0400, "Edward Rawde"
    <invalid@invalid.invalid> wrote:

    "john larkin" <jl@glen--canyon.com> wrote in message news:k645aktmkvfh08rf1em4ea8qh1f3temqck@4ax.com...

    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    I'd export the netlist before and after moving the power supplies.
    If the files are exactly the same then it's hard to see why the simulation would be different.




    I had one sim that was running picoseconds per second. I added a 1K
    resistor that was just grounded on one end and increased sim speed
    about 7 orders of magnitude.

    Changing a resistor from 50 ohms to 51 can have the same effect.

    LT Spice seems to be a chaotic system where tiny changes can grossly
    affect convergence. Moving a part will change the ordering of the net
    list and change the matrix. Butterfly effect.

    I wonder if comments can do that too.

    LT lets me set a max time step but not a min. Better yet, it should
    let me specify a fixed time step.

    That how Pspice ran 10 years ago.

    It seems they updated the core, combined with Auto Convergence, I almost
    never see those kinds of problems any more.


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Mon Aug 18 15:49:42 2025
    From Newsgroup: sci.electronics.design

    On Mon, 18 Aug 2025 14:04:09 -0700, Buzz McCool
    <buzz_mccool@yahoo.com> wrote:

    On 8/18/2025 6:59 AM, john larkin wrote:
    ...
    LT Spice seems to be a chaotic system where tiny changes can grossly
    affect convergence. Moving a part will change the ordering of the net
    list and change the matrix. Butterfly effect.

    I recall some past discussions you had with folks in this group about using alternatives to LTSpice.


    Some of my guys are playing with Qspice. It was written by Mike E,
    same guy. I don't know if it converges better.

    ECA was cool. You set the time step. It just ran and occasionally said
    "failed to converge" or "division by zero" and kept going.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From legg@legg@nospam.magma.ca to sci.electronics.design on Tue Aug 19 08:00:12 2025
    From Newsgroup: sci.electronics.design

    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Tue Aug 19 08:53:10 2025
    From Newsgroup: sci.electronics.design

    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote:

    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might
    that matter?

    https://www.dropbox.com/scl/fi/lzzin9qphlfh51uznaio4/T820_HV_2.jpg?rlkey=6nw9snqxyual6o06oap8t490u&raw=1


    After this worked, I moved the 3.3 supplies and it got faster.

    This ran at 100u of real time until I did many tweaks, and got it to
    average about 500.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bill Sloman@bill.sloman@ieee.org to sci.electronics.design on Wed Aug 20 02:03:19 2025
    From Newsgroup: sci.electronics.design

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote:

    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a
    net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might
    that matter?

    Only to the extent that you can choose to hide or display some of the properties of your parts. The other project might have made choices that
    you weren't aware of.

    You might have to compare .asc files to find out.
    --
    Bill Sloman, sydney

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Tue Aug 19 10:06:27 2025
    From Newsgroup: sci.electronics.design

    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote:

    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>> net name, and moved them for cosmetic reasons, and my sims got about
    15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might
    that matter?

    Only to the extent that you can choose to hide or display some of the >properties of your parts. The other project might have made choices that
    you weren't aware of.

    It was my circuit, so I doubt it.


    You might have to compare .asc files to find out.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bill Sloman@bill.sloman@ieee.org to sci.electronics.design on Wed Aug 20 16:13:32 2025
    From Newsgroup: sci.electronics.design

    On 20/08/2025 3:06 am, john larkin wrote:
    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote:

    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com>
    wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>>> net name, and moved them for cosmetic reasons, and my sims got about >>>>> 15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might
    that matter?

    Only to the extent that you can choose to hide or display some of the
    properties of your parts. The other project might have made choices that
    you weren't aware of.

    It was my circuit, so I doubt it.

    Human memory is fallible - yours more than most - so you shouldn't be
    all that confident.

    You might have to compare .asc files to find out.

    That might look a bit obsessive, but it's the only way to be sure.
    --
    Bill Sloman, Sydney

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Wed Aug 20 07:59:14 2025
    From Newsgroup: sci.electronics.design

    On Wed, 20 Aug 2025 16:13:32 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 3:06 am, john larkin wrote:
    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote: >>>>
    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com> >>>>> wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>>>> net name, and moved them for cosmetic reasons, and my sims got about >>>>>> 15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might >>>> that matter?

    Only to the extent that you can choose to hide or display some of the
    properties of your parts. The other project might have made choices that >>> you weren't aware of.

    It was my circuit, so I doubt it.

    Human memory is fallible - yours more than most -

    How did you get to be such a repulsive person? Clearly you enjoy it.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Edward Rawde@invalid@invalid.invalid to sci.electronics.design on Wed Aug 20 11:49:21 2025
    From Newsgroup: sci.electronics.design

    "john larkin" <jl@glen--canyon.com> wrote in message news:6kobakl8k1rbu54cmrlaqfm3p1rst79v8e@4ax.com...
    On Wed, 20 Aug 2025 16:13:32 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 3:06 am, john larkin wrote:
    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote: >>>>>
    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com> >>>>>> wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>>>>> net name, and moved them for cosmetic reasons, and my sims got about >>>>>>> 15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might >>>>> that matter?

    Only to the extent that you can choose to hide or display some of the
    properties of your parts. The other project might have made choices that >>>> you weren't aware of.

    It was my circuit, so I doubt it.

    Human memory is fallible - yours more than most -

    How did you get to be such a repulsive person? Clearly you enjoy it.

    I nearly responded to that with something similar.
    I wonder if psychology has a name for someone who thinks they know more about someone else than someone else knows about themselves.
    Perhaps he should ask his wife.




    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bill Sloman@bill.sloman@ieee.org to sci.electronics.design on Thu Aug 21 03:58:30 2025
    From Newsgroup: sci.electronics.design

    On 21/08/2025 12:59 am, john larkin wrote:
    On Wed, 20 Aug 2025 16:13:32 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 3:06 am, john larkin wrote:
    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote: >>>>>
    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com> >>>>>> wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>>>>> net name, and moved them for cosmetic reasons, and my sims got about >>>>>>> 15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might >>>>> that matter?

    Only to the extent that you can choose to hide or display some of the
    properties of your parts. The other project might have made choices that >>>> you weren't aware of.

    It was my circuit, so I doubt it.

    Human memory is fallible - yours more than most -

    How did you get to be such a repulsive person? Clearly you enjoy it.

    Failing to flatter people, even if they feel they deserve it, may count
    as mildly anti-social in some circles, but it never rates as repulsive.

    Actually flattering egomaniacs - the sort of thing that each of Trump's executive team had to do to get the gig - is actually pretty repulsive behavior.

    Do try to make your insults more plausible - if nothing else it would
    add a bit of class to the group (not that you'd notice that).
    --
    Bill Sloman, Sydney

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bill Sloman@bill.sloman@ieee.org to sci.electronics.design on Thu Aug 21 04:15:46 2025
    From Newsgroup: sci.electronics.design

    On 21/08/2025 1:49 am, Edward Rawde wrote:
    "john larkin" <jl@glen--canyon.com> wrote in message news:6kobakl8k1rbu54cmrlaqfm3p1rst79v8e@4ax.com...
    On Wed, 20 Aug 2025 16:13:32 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 3:06 am, john larkin wrote:
    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org> >>>> wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote: >>>>>>
    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com> >>>>>>> wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>>>>>> net name, and moved them for cosmetic reasons, and my sims got about >>>>>>>> 15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might >>>>>> that matter?

    Only to the extent that you can choose to hide or display some of the >>>>> properties of your parts. The other project might have made choices that >>>>> you weren't aware of.

    It was my circuit, so I doubt it.

    Human memory is fallible - yours more than most -

    How did you get to be such a repulsive person? Clearly you enjoy it.

    I nearly responded to that with something similar.
    I wonder if psychology has a name for someone who thinks they know more about someone else than someone else knows about themselves.
    Perhaps he should ask his wife.

    It all depends how much the offender actually knows. Somebody who gets
    close enough to the truth to needle the offended victim tends to be
    labelled an effective critic. The word "satire" sometimes gets deployed,
    but around here the tendency is more towards the "lampoon".

    It's not really a category where psychologists like my wife are all that interested - it's more literary criticism.
    --
    Bill Sloman, Sydney

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From ehsjr@ehsjr@verizon.net to sci.electronics.design on Wed Aug 20 16:18:40 2025
    From Newsgroup: sci.electronics.design

    On 8/20/2025 10:59 AM, john larkin wrote:
    On Wed, 20 Aug 2025 16:13:32 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 3:06 am, john larkin wrote:
    On Wed, 20 Aug 2025 02:03:19 +1000, Bill Sloman <bill.sloman@ieee.org>
    wrote:

    On 20/08/2025 1:53 am, john larkin wrote:
    On Tue, 19 Aug 2025 08:00:12 -0400, legg <legg@nospam.magma.ca> wrote: >>>>>
    On Sun, 17 Aug 2025 19:35:49 -0700, john larkin <jl@glen--canyon.com> >>>>>> wrote:


    Can just moving something change sim speed?

    I had a couple of 3.3 volt power supplies, each grounded and driving a >>>>>>> net name, and moved them for cosmetic reasons, and my sims got about >>>>>>> 15% faster.

    Anything else in the sim?

    Did nodes change enumeration in the process?

    Were they originally drawn in or section-duped?

    RL

    Just this: I did poach part of the circuit from another project. Might >>>>> that matter?

    Only to the extent that you can choose to hide or display some of the
    properties of your parts. The other project might have made choices that >>>> you weren't aware of.

    It was my circuit, so I doubt it.

    Human memory is fallible - yours more than most -

    How did you get to be such a repulsive person? Clearly you enjoy it.


    Sadly, he seems to be pathologically envious of you,
    apparently looking for every opportunity he can find
    (or manufacture) in your posts to make an insulting
    comment. He really could add something of value, but
    his negativity discourages productive discussion far
    too often, at least for me.

    Ed
    --- Synchronet 3.21a-Linux NewsLink 1.2