Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Re: LTspice XVII error work around
#Time-step-too-small
¿ªÔÆÌåÓýYou have the Eeyore settings too high in both
simulators On 2025-02-28 13:43, Robert via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
Re: LTspice XVII error work around
#Time-step-too-small
This morning I again broke up the big reservoir capacitor into one reservoir capacitor for every SMPS, and this time the model remained happy. Aaaaand the results are in. LTSpice (with similar PTC and similar regulator) showed reasonable agreement with Simplis (with the PTC as a fixed resistor and the correct regulator). BTW, Simplis converges with no fiddling about, but then it is intended to address the problems associated with SMPS modelling. What's not so good (but interesting) is when I compare the modelled steady state currents with my pages of maths and with measurement of the built unit:
?
LTSpice: 1100 mA
Simplis: 1050 mA
Calculated worst possible case: 602 mA
Measured under normal operating conditions: 574 mA
?
? |
Re: LTspice 24.1.4 Bugs
¿ªÔÆÌåÓýOn 28/02/2025 13:22, Tony Casey wrote:
I remember from years ago that some companies' did not allow overbarsI meant to say: I remember from years ago that some companies' drawing standards did not allow overbars -- Regards, Tony |
Re: LTspice 24.1.4 Bugs
¿ªÔÆÌåÓýOn 28/02/2025 12:57, Andy I via
groups.io wrote:
Yes, of course that's true. Very strange that I never noticed before, as someone that uses a lot of underscore characters. Oh, well. Is the overbar NET notation old-fashioned? I use that a lot too, in both LTspice and PCB design. Previously, not all EDA tools could handle overbars, but I think most do these days. I remember from years ago that some companies' did not allow overbars, presumably because the original 128 character ASCII set didn't include any accented characters and there are no overbar characters in the extended set, although #175 is the overline. -- Regards, Tony |
Re: LTspice 24.1.4 Bugs
¿ªÔÆÌåÓýThere doesn't seem to be any other easy way to
produce characters with overbar. Most fonts don't have an
alphabet of overbar characters. Of course, a different 'trigger'
symbol other than underscore could be used, but that symbol is
probably very seldom required with its normal meaning in the
context. On 2025-02-28 11:57, Andy I via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
Re: LTspice 24.1.4 Bugs
On Fri, Feb 28, 2025 at 04:59 AM, Tony Casey wrote:
So, it's most likely deliberate.It is unrelated to what the text is.? "LT" or "ADI" makes no difference.??The same thing happens if you write ".lib _foobar.lib". ?
Yes it is deliberate in the sense that an underscore character in text in LTspice's schematic editor, causes the text after it to have an overbar over it, as a convenient way of labeling nets or pins with the (now old-fashioned?) "NOT" notation that was (and may still be) common practice..? The schematic editor does not differentiate between net label text and SPICE Directive text.? Text is text.
?
Andy
? |
Re: LTspice 24.1.4 Bugs
¿ªÔÆÌåÓýOn 27/02/2025 19:57, Andy I via
groups.io wrote:
It may be it's related (or not) to the feature that the "LT" text string in a symbol is magically converted to the old red LT corporate logo. They left that in while also adding the "ADI" string conversion to the Analog Devices corporate logo. I say that because "_ADI" has the same effect of causing ADI to become overstruck in a schematic string.It's been around for a very long time.? A decade or two?? I think there would be no reason for them to pick up on that one particular thing that has been there for so many years, unless somebody nagged them about it in 2025. So, it's most likely deliberate.
--
Regards, Tony |
Re: 12AU7 tube heater model
On Fri, Feb 21, 2025 at 05:57 AM, Carlo wrote:
The point is that, by removing both the independent current source I1 and the G-source Ghot from the overall topology, the topology check realizes that there is the series/string of R:U1:cool and R:U1:load resistors (connecting node N001 with U1:HB passing through the intermediate node U1:HA) that are actually disconnected from the rest of the circuit. Therefore the topology check complains that U1:HB node is floating and connected to the (controlled) current source G:U1:HOT.Thinking again about it, I realized that the "topology check routine" throws a warning complaining that there is a cut-set made of (independent or controlled) current sources only. ?
In this specific circuit, as you pointed out, it isn't a problem at all since the G-controlled source within the subckt actually implements/realizes just a non-linear resistor.
?
Carlo. |
Re: Issues running LTspice as a batch service
So, does this mean the Windows service account does not know what LTspice is, or where to find it? ?
Sorry, I don't know snakes.
?
Andy
? |
Re: Issues running LTspice as a batch service
¿ªÔÆÌåÓýI thought that the advice was that it was not
installed in the right place, but I might be wrong.'Not
installed correctly' might be a paraphrase of 'I can't open it'. On 2025-02-27 19:59, Jeff Kayzerman
wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
Re: Issues running LTspice as a batch service
On Thu, Feb 27, 2025 at 11:15 AM, Jeff Kayzerman wrote:
You'll need to launch the python LTspice subprocess in the context of the target user and target schematic source folder. |
Re: LTspice XVII error work around
#Time-step-too-small
On Thu, Feb 27, 2025 at 09:26 AM, Andy I wrote:
Of course it should not have made any difference whatsoever.I think it would make a difference because the solver has to determine additional unknowns with more capacitors, namely the current through each individual capacitor. There are no additional nodes, but there are more branches. This may be enough to make the matrix numerically unsolvable. |
Re: Issues running LTspice as a batch service
Convert the error number to hex.
Then Google is your friend.
The Windows error code 0xc0000409 is a software exception error that can occur when an application is installed incorrectly ?
?
Sent:?Thursday, February 27, 2025 at 1:54 PM
From:?"Andy I via groups.io" <AI.egrps+io@...> To:[email protected] Subject:?Re: [LTspice] Issues running LTspice as a batch service On Thu, Feb 27, 2025 at 01:31 PM, Jeff Kayzerman wrote:
Presumably that is a Windows status code.? I think it did not come from LTspice, but it might mean Windows is telling you that LTspice did not exit happily. ?
Can you find what that error code means, if it's from Windows?
?
It's curious that the message states "Simulation failed ...".? Where did that word "Simulation" come from?
?
Did LTspice create a .LOG file?? What does it say?
?
I am unfamiliar with running programs in a Windows background service.? Is it possible that a background service does not "see" itself with a normal default directory?? Is it a mirror of the right directory, including all contents?? What about its environment variables?? Does it see the LTspice .ini file too? ?
I'm assuming that everything works now that you moved all the symbols (and models too?) into the same folder with the schematic, when run normally.? I think that is what you said.
?
Andy
?
|
Re: Issues running LTspice as a batch service
Yes it is a windows error, something about a stack buffer overrun, not sure what to make of that. The message "Simulation failed with status code <status code>" Is my code in the except block of the python program. There is no log file that gets created from LTspice. |
Re: LTspice 24.1.4 Bugs
On Thu, Feb 27, 2025 at 10:57 AM, Andy I wrote:
Yes...its minor and cosmetic. But if it were me I would have fixed it a long time ago. |
Re: Issues running LTspice as a batch service
On Thu, Feb 27, 2025 at 10:31 AM, Jeff Kayzerman wrote:
Suggestion..
?
Create a batch or command file and run a command within it, so it gets the windows environment variables while running as a service.
Redirect the results to a file. It might be telling....
? |
Re: LTspice 24.1.4 Bugs
It's been around for a very long time.? A decade or two?? I think there would be no reason for them to pick up on that one particular thing that has been there for so many years, unless somebody nagged them about it in 2025. ?
Andy
? |
to navigate to use esc to dismiss