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 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
? |
Re: 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: LTspice XVII error work around
#Time-step-too-small
Yes, I read all the advice and started out with a very low value for CSHUNT, but ended up with 5pF in order to get convergence. However, this was BEFORE I added the LT1375. Rather than a proper SMPS I was initially working with a switched load on the PTC, and then a Heath-Robinson arrangement of switches and pulse generators set up to do something SMPS-like in the simplest possible way, because the regulator I'm actually using (MCP16331T-E/CH) doesn't appear to have a SPICE model. So 5pF was not unreasonable. If I had stuck with 1e-15 I would still be tearing my hair out. However, having made some progress and achieved something that didn't look completely wrong, I then went on a search for something a bit like a MCP16331T-E/CH that had a model, in order to move a little closer to reality. I was not surprised to find I now had convergence problems again, but this time no matter what I did I either got no convergence at all, or LTSpice slowed to a crawl. But with CSHUNT removed and the timebase shift, I now have all six SMPS's working with the PTC in place, and I can see that it should pass the formal inrush current test by a significant margin, even though strictly speaking it doesn't have to (if the customer asks you to jump a hurdle, and doing so wont kill you, you jump the hurdle). Apart from the capacitor oddity, the model is now stable against changes. And yes, when I replaced one big capacitor with several capacitors in parallel I used ideal capacitors, not capacitors with parasitics. I might try again now I've made various changes.
?
Regarding voltage/current sources, I gave the voltage source a series resistor. From what I've read, LTSpice will convert such voltage source to the equivalent current source before modelling commences, so I didn't do that manually.
?
? |
Re: LTspice 24.1.4 Bugs
On Thu, Feb 27, 2025 at 10:42 AM, Andy I wrote:
Oh...I would think they would fix that in this version The command works right, just looks weird. Ok |
Re: LTspice 24.1.4 Bugs
Sorry, I misunderstood:
?
On Thu, Feb 27, 2025 at 01:25 PM, eetech00 wrote:
That is not a new bug in 24.1.4.? The fact that the schematic editor displays it with the overbar, that is.? It has "always" worked that way, I think ever since LTspice had that feature that preceding anything with an underscore (under certain conditions that you listed) causes it to display in the schematic editor with an overbar.
?
But the command executes correctly, right?? Or does v24.1.4 mess that up too?
?
Yes, it is a bit annoying that the underscore always causes the word after it to have the overbar when seen in the schematic editor.? I took it as a relatively minor annoyance.
?
Anyway, I think nothing about this has changed in version 24.1.4.
?
Andy
? |
to navigate to use esc to dismiss