Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joerg Newsgroups: sci.electronics.design Subject: Re: LT spice, leakage inductance Date: Thu, 20 Jul 2017 14:25:43 -0700 Lines: 48 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net hY/T9EqBFZNGyQ66pDnaCwPB23BkEaCY/6GXeYrmVS9rGWiDyI Cancel-Lock: sha1:FzZHRODg9fxKiiflu44w29FPHwo= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.6.666 In-Reply-To: Xref: csiph.com sci.electronics.design:469762 On 2017-07-20 12:31, John Larkin wrote: > On Thu, 20 Jul 2017 12:14:06 -0700, Joerg > wrote: > >> On 2017-07-20 11:39, John Larkin wrote: >>> >>> >>> I'm simulating a flyback switcher and noticed that any K < 1 in the >>> transformer radically slows down the sim, which is annoyingly slow >>> already... 90 seconds to sim 60 ms of startup and a little pulsed load >>> blip. Maybe 6:1 slower with a little leakage inductance. So I only >>> include leakage inductance to tweak the snubber. >>> >> >> That's probably what we all do. Leakage only on a cycle-by-cycle basis >> but not for a whole load change reaction run. Besides, it would cause >> global warming :-) >> >> Ever since I bought a PC with an Intel i7 in there things have greatly >> accelerated in SPICE. > > So we simulate more complex stuff and give all that saved time back. > Not really. I try to be frugal with resources. It's just that for whatever reason I get to design switch-mode converters all the time and those are sim-hungry. So now the job goes faster. I don't particularly enjoy it but it seems hardly anyone else wants to design switchers these days. > I've got a radically weird PLL that would probably Spice in 1 PPB of > real time. We may sim it in Python, or just build it and tweak. > > Actually, PowerBasic would be better than Python. > For analog SPICE always rules, except where it doesn't and then it means bench time, soldering iron, coffee or maybe a Pale Ale. It can help to change precision parameters such as RELTOL in SPICE for a faster run but I rarely do that. That was different in the days when all I had was a 80386 running a 25MHz and a Cyrix Math processor. -- Regards, Joerg http://www.analogconsultants.com/