Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Multiple instances of "C:U2:spark"
Richard,
By the way -- I should have said this earlier, but I forgot to -- What you did was the reason for the error message. You had two capacitors both named "Cspark, inside of the same subcircuit.? LTspice needs to alter that name when it "expands" the subcircuit into the expanded SPICE netlist.? It does that by inserting extra characters into the name.? In your case, it turned "Cspark" into "C:U2:spark".? So what it did was insert? "U2" in the middle of the name, after the first character which must be a "C" to indicate that it is a capacitor.? In your case, it found that Cspark was inside of a subcircuit which had the instance name "U2", so "U2" was the text that it inserted between the "C" and the "spark".? The extra colons are how it separated U2 from the rest of the name. I am just explaining how "Cspark" got turned into "C:U2:spark".? "CLU2:spark" "C:U2:spark" is LTspice's way of saying "the capacitor you named 'Cspark' which I found inside of the subcircuit instance named 'U2'." (And I need to proof-read more carefully what I type.? I made careless errors which I didn't catch before clicking the "Send" button.) Andy |
Re: Multiple instances of "C:U2:spark"
It looks like Richard wanted his comments to define parameters.
Of course they don't.? Having a line like this: ? ??* A = 5.19e-11 makes it a comment, where it does nothing.? It does not define a constant or parameter named "A", so it's invalid to later use "A" within a formula because "A" is not "known".? Maybe Richard intended to write: ? ? .param? A = 5.19e-11 But that's only one of many mistakes he made. Andy |
Re: Multiple instances of "C:U2:spark"
¿ªÔÆÌåÓýI suppose the algebra could be
included as comments also. Maybe Richard thought that the *
worked for both lines of text. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-03 11:37, Andy I wrote:
In short, every bit of your subcircuit is not SPICE.? It's pretty algebra (if also incorrect), but it is not SPICE and it doesn't belong inside a subcircuit. |
Re: Multiple instances of "C:U2:spark"
In short, every bit of your subcircuit is not SPICE.? It's pretty algebra (if also incorrect), but it is not SPICE and it doesn't belong inside a subcircuit.
The only parts of your subcircuit that make sense, are the .SUBCKT line, the .ENDS line, and the comments.? Everything else should not be there. Andy |
Re: Multiple instances of "C:U2:spark"
A fresh install rarely helps, especially when the problem is a mistake in your circuit. * Spark gap resistance
|
Re: Multiple instances of "C:U2:spark"
¿ªÔÆÌåÓýWhen you autogenerate, the .ASY
includes the path to the subcircuit, If you also put an .INC
statement on your .ASC, you get the 'multiple instances'
error. ======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-03 10:38, Richard Andrews
via groups.io wrote:
No, all I did was open the subcircuit right click on the circuit name to auto-generate a symbol. Then I placed the symbol on my circuit and run it. Thanks for your help by the way. |
Re: Multiple instances of "C:U2:spark"
¿ªÔÆÌåÓýThat problem isn't in the subcircuit, but there is a problem there. The expression for the capacitance is wrong, as you can see because it increases with the separation of the electrodes. The capacitance is ?o*area/distance. The 'multiple instances'
problem is in the .ASY or .ASC or both. Have you put a
reference to the subcircuit in the .ASY as well as in the
.ASC?
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only Rayleigh, Essex UK I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC) On 2023-07-03 10:15, Richard Andrews
via groups.io wrote:
I made a subckt of a spark gap and linked it to an edited neonbulb symbol and now I get the warning "multiple instances of "C:U2:spark"". Please help me straighten this out. |
Re: No MAX31740 Spice Model
¿ªÔÆÌåÓýOn 03/07/2023 01:22, John Waugaman wrote:Looking for an LTspice model for the MAX 31740 Ultra-Simple Fan-Speed Controller.? Although AD has apparently acquired Maxim, they haven't developed a model for this device.? Has any members attempted to create one?I looked in the group's Files section and did a Google search, but there were no hits. So unless someone comes forward, I guess the answer is "no". --
Regards, Tony |
Re: Sim speed
That's the home PC: OS Name Microsoft Windows 11 Pro System Name XOTIC-PC System Manufacturer ASUS System Model System Product Name Processor 13th Gen Intel(R) Core(TM) i9-13900K, 3000 Mhz, 24 Core(s), 32 Logical Processor(s) BaseBoard Manufacturer ASUSTeK COMPUTER INC. BaseBoard Product ROG STRIX Z790-E GAMING WIFI Installed Physical Memory (RAM) 128 GB Total Physical Memory 128 GB Available Physical Memory 72.0 GB (Ramdisk is taking 64G) Total Virtual Memory 170 GB Available Virtual Memory 79.8 GB Page File Space 41.8 GB On Sun, Jul 2, 2023 at 4:38?PM eetech00 via <eetech00=[email protected]> wrote: Instead of guessing, use Task Manager to check the performance. -- K1FZY (WA4TPW) SK? 9/29/37-4/13/15 |
Re: Sim speed
David asked, "Aren't they in the folder you're working in by default?"
LTspice also has a location for "Temporary Files".? Go to its Control Panel > Operation tab.? It's at the bottom of that tab.? I think the default location is your Windows Temp folder. I do not know with certainty what is meant by those Temporary Files.? LTspice's Help suggests that they are created when doing a Sync Release, so it is not while simulating.? I also once saw it suggested that the Temporary Files location was used while doing a Conversion of .RAW files to Fast Access.? Again, that is not while simulating. I suppose it is possible that LTspice opens additional unnamed Temporary Files while it is simulating, and it's possible that we don't see those files while it's running.? I am not aware that LTspice does this, but I would not totally discount the possibility.? The files it creates while simulating include the .NET, .LOG, and .RAW files, of which only the .NET file is really temporary.? But the .LOG and .RAW files can optionally be directed to a different directory location, separate from your default (schematic) location.? You would not want that to be anywhere with slower access. Andy |
Re: Sim speed
Aren't they in the folder you're working in by default? On Sun, Jul 2, 2023 at 12:24?PM imnoexpertbut via <mdmyh55=[email protected]> wrote: Have you modified the settings in LTspice so that? temporary files and working files are in a folder on the ramdisk? -- K1FZY (WA4TPW) SK? 9/29/37-4/13/15 |
Re: .imp file
Actually, FFT and Inverse FFT are essentially the same algorithms, so the second FFT is really an IFFT, converting the spectrum back into a time-domain waveform.
I expect that the .imp file is the same sort of binary file as an .fft or .raw file.? It should have a readable header at the top that lists the LTspice settings and the signal name, followed by binary data for the remainder of the file. Obviously it has nothing whatsoever to do with Adobe Audition, but that was the result?because it may be the most common use of ".imp" as a filename's extension.? The web search doesn't check what is actually inside the file.? Nobody actually "owns" any filename extension. Andy |