Electronics-Related.com
Forums

Spice Simulators - ngspice v. ltspice ?

Started by Dan Purgert December 21, 2023
On Thu, 21 Dec 2023 15:33:42 -0800, john larkin <jl@650pot.com> wrote:

>On Thu, 21 Dec 2023 23:01:13 +0000, JM <sunaecoNoSpam@gmail.com> >wrote: > >>On Thu, 21 Dec 2023 15:24:34 -0000 (UTC), Dan Purgert <dan@djph.net> >>wrote: >> >>>I've never used ltspice / circuit simulators before; though based on >>>seeing posts to the group from various people seems it's something I >>>might find useful (noting, of course, this is a hobby rather than >>>something I get paid for). >>> >>>Looked it up, and seems ltspice is a windows/mac application, whereas >>>the native equivalent on linux would be ngspice. To avoid starting with >>>one and switching because it's "bad" later on; has anyone used >>>ngspice and found it a decent alternative to ltspice? >> >>Use Spectrum Software's Micro-Cap (latest version is 12.2.05) instead >>of either of the above. Although popular, unless you want to simulate >>Linear Technology's controller IC's, I cannot see any reason why >>anyone with any sense would use it. > >I have 1616 LT Spice sim files in my project folders on this PC. I >must be really dumb.
You might very well think that; I couldn't possibly comment.
On Thu, 21 Dec 2023 23:41:28 +0000, JM <sunaecoNoSpam@gmail.com>
wrote:

>On Thu, 21 Dec 2023 15:33:42 -0800, john larkin <jl@650pot.com> wrote: > >>On Thu, 21 Dec 2023 23:01:13 +0000, JM <sunaecoNoSpam@gmail.com> >>wrote: >> >>>On Thu, 21 Dec 2023 15:24:34 -0000 (UTC), Dan Purgert <dan@djph.net> >>>wrote: >>> >>>>I've never used ltspice / circuit simulators before; though based on >>>>seeing posts to the group from various people seems it's something I >>>>might find useful (noting, of course, this is a hobby rather than >>>>something I get paid for). >>>> >>>>Looked it up, and seems ltspice is a windows/mac application, whereas >>>>the native equivalent on linux would be ngspice. To avoid starting with >>>>one and switching because it's "bad" later on; has anyone used >>>>ngspice and found it a decent alternative to ltspice? >>> >>>Use Spectrum Software's Micro-Cap (latest version is 12.2.05) instead >>>of either of the above. Although popular, unless you want to simulate >>>Linear Technology's controller IC's, I cannot see any reason why >>>anyone with any sense would use it. >> >>I have 1616 LT Spice sim files in my project folders on this PC. I >>must be really dumb. > >You might very well think that; I couldn't possibly comment.
I don't mind being dumb, but do I have to give all the money back?
On Thursday, December 21, 2023 at 5:47:31&#8239;PM UTC-6, john larkin wrote:
> On Thu, 21 Dec 2023 23:41:28 +0000, JM <sunaec...@gmail.com> > wrote: > > >On Thu, 21 Dec 2023 15:33:42 -0800, john larkin <j...@650pot.com> wrote: > > > >>On Thu, 21 Dec 2023 23:01:13 +0000, JM <sunaec...@gmail.com> > >>wrote: > >> > >>>On Thu, 21 Dec 2023 15:24:34 -0000 (UTC), Dan Purgert <d...@djph.net> > >>>wrote: > >>> > >>>>I've never used ltspice / circuit simulators before; though based on > >>>>seeing posts to the group from various people seems it's something I > >>>>might find useful (noting, of course, this is a hobby rather than > >>>>something I get paid for). > >>>> > >>>>Looked it up, and seems ltspice is a windows/mac application, whereas > >>>>the native equivalent on linux would be ngspice. To avoid starting with > >>>>one and switching because it's "bad" later on; has anyone used > >>>>ngspice and found it a decent alternative to ltspice? > >>> > >>>Use Spectrum Software's Micro-Cap (latest version is 12.2.05) instead > >>>of either of the above. Although popular, unless you want to simulate > >>>Linear Technology's controller IC's, I cannot see any reason why > >>>anyone with any sense would use it. > >> > >>I have 1616 LT Spice sim files in my project folders on this PC. I > >>must be really dumb. > > > >You might very well think that; I couldn't possibly comment. > I don't mind being dumb, but do I have to give all the money back?
HeHe....pretty good! I like it. Can I have it?
On Thu, 21 Dec 2023 18:37:20 -0800 (PST), John Smiht
<utube.jocjo@xoxy.net> wrote:

>On Thursday, December 21, 2023 at 5:47:31?PM UTC-6, john larkin wrote: >> On Thu, 21 Dec 2023 23:41:28 +0000, JM <sunaec...@gmail.com> >> wrote: >> >> >On Thu, 21 Dec 2023 15:33:42 -0800, john larkin <j...@650pot.com> wrote: >> > >> >>On Thu, 21 Dec 2023 23:01:13 +0000, JM <sunaec...@gmail.com> >> >>wrote: >> >> >> >>>On Thu, 21 Dec 2023 15:24:34 -0000 (UTC), Dan Purgert <d...@djph.net> >> >>>wrote: >> >>> >> >>>>I've never used ltspice / circuit simulators before; though based on >> >>>>seeing posts to the group from various people seems it's something I >> >>>>might find useful (noting, of course, this is a hobby rather than >> >>>>something I get paid for). >> >>>> >> >>>>Looked it up, and seems ltspice is a windows/mac application, whereas >> >>>>the native equivalent on linux would be ngspice. To avoid starting with >> >>>>one and switching because it's "bad" later on; has anyone used >> >>>>ngspice and found it a decent alternative to ltspice? >> >>> >> >>>Use Spectrum Software's Micro-Cap (latest version is 12.2.05) instead >> >>>of either of the above. Although popular, unless you want to simulate >> >>>Linear Technology's controller IC's, I cannot see any reason why >> >>>anyone with any sense would use it. >> >> >> >>I have 1616 LT Spice sim files in my project folders on this PC. I >> >>must be really dumb. >> > >> >You might very well think that; I couldn't possibly comment. >> I don't mind being dumb, but do I have to give all the money back? > >HeHe....pretty good! I like it. Can I have it?
LT Spice has earned us about a trillion times what it cost.
On a sunny day (Thu, 21 Dec 2023 15:24:34 -0000 (UTC)) it happened Dan Purgert
<dan@djph.net> wrote in <slrnuo8m8s.clb.dan@djph.net>:

>I've never used ltspice / circuit simulators before; though based on >seeing posts to the group from various people seems it's something I >might find useful (noting, of course, this is a hobby rather than >something I get paid for). > >Looked it up, and seems ltspice is a windows/mac application, whereas >the native equivalent on linux would be ngspice. To avoid starting with >one and switching because it's "bad" later on; has anyone used >ngspice and found it a decent alternative to ltspice?
I have LTsice running in Linux in 'wine' windows simulator on some old PC. Not that I use it much.. I have used it to draw filter curves, that is useful, avoids lots of maaz or what was it matzs? anyways....
On 2023-12-21, JM wrote:
> On Thu, 21 Dec 2023 15:24:34 -0000 (UTC), Dan Purgert <dan@djph.net> > wrote: > >>I've never used ltspice / circuit simulators before; though based on >>seeing posts to the group from various people seems it's something I >>might find useful (noting, of course, this is a hobby rather than >>something I get paid for). >> >>Looked it up, and seems ltspice is a windows/mac application, whereas >>the native equivalent on linux would be ngspice. To avoid starting with >>one and switching because it's "bad" later on; has anyone used >>ngspice and found it a decent alternative to ltspice? > > Use Spectrum Software's Micro-Cap (latest version is 12.2.05) instead > of either of the above. Although popular, unless you want to simulate > Linear Technology's controller IC's, I cannot see any reason why > anyone with any sense would use it.
Seems this one's abandoned now? Which I guess isn't necessarily a problem, unless the "download" links at archive.org don't work... Thanks for the alternative suggestion too! -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
On 2023-12-21, Phil Hobbs wrote:
> Dan Purgert <dan@djph.net> wrote: >> I've never used ltspice / circuit simulators before; though based on >> seeing posts to the group from various people seems it's something I >> might find useful (noting, of course, this is a hobby rather than >> something I get paid for). >> [...] > > LTspice installs and runs well under wine in linux. (Use winetricks. ) > > I&rsquo;ve been using it that way for years and years.
Thanks Phil, google was hinting that LTspice via wine "might" be the way to go ... but then again, search results can be misleading, especially when one doesn't know any better. -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
On 2023-12-21, Jeroen Belleman wrote:
> On 12/21/23 03:14, Wanderer wrote: >> The difficulty with the LTspice interface is that it uses "verb" mode >> instead of "noun" mode. In other words, you need to select the action >> and then the object, instead of the object and then the action. This >> differs from how a lot of other programs work. Also LTspice doesn't >> do schematics for PCB Layout, so you are concurrently using another >> schematic layout program which is a pain. I had changed LTspice's >> hotkeys to match Altium's to avoid hitting the wrong keys. > > Schematics for PCB layout have requirements so different from > schematics for simulations that I don't even *want* to use the > same tool for both. > > I have KiCad for one and LTspice for the other, both on a Linux > machine. I never simulate complete designs; only sections that > need closer attention. > > It appears KiCads's eeschema can be used as a schematic entry > front-end for ngspice. I never yet bothered.
I ran across that myself yesterday evening, but not going to touch it until I have a better handle on what rabbit hole I'm falling into here (although it does seem that one "must" use ngspice to work with KiCAD, if I'm read and understood the brief overview properly). -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
Dan Purgert <dan@djph.net> wrote:
> On 2023-12-21, Phil Hobbs wrote: >> Dan Purgert <dan@djph.net> wrote: >>> I've never used ltspice / circuit simulators before; though based on >>> seeing posts to the group from various people seems it's something I >>> might find useful (noting, of course, this is a hobby rather than >>> something I get paid for). >>> [...] >> >> LTspice installs and runs well under wine in linux. (Use winetricks. ) >> >> I&rsquo;ve been using it that way for years and years. > > Thanks Phil, google was hinting that LTspice via wine "might" be the way > to go ... but then again, search results can be misleading, especially > when one doesn't know any better. >
For a while I happily used LT spice in a vm box on Linux then acting on advice of folk here found it was even easier under wine. Went down a rabbit hole on first attempt using wrong repo of wine but within an hour had sorted. Since then l use LTS under wine on most of my machines with no problems. -- piglet
piglet <erichpwagner@hotmail.com> wrote:
> Dan Purgert <dan@djph.net> wrote: >> On 2023-12-21, Phil Hobbs wrote: >>> Dan Purgert <dan@djph.net> wrote: >>>> I've never used ltspice / circuit simulators before; though based on >>>> seeing posts to the group from various people seems it's something I >>>> might find useful (noting, of course, this is a hobby rather than >>>> something I get paid for). >>>> [...] >>> >>> LTspice installs and runs well under wine in linux. (Use winetricks. ) >>> >>> I&rsquo;ve been using it that way for years and years. >> >> Thanks Phil, google was hinting that LTspice via wine "might" be the way >> to go ... but then again, search results can be misleading, especially >> when one doesn't know any better. >> > > For a while I happily used LT spice in a vm box on Linux then acting on > advice of folk here found it was even easier under wine. Went down a rabbit > hole on first attempt using wrong repo of wine but within an hour had > sorted. Since then l use LTS under wine on most of my machines with no > problems. > >
That&rsquo;s where winetricks comes in. Super easy. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics