开云体育

Date

Re: Multiple instances of "C:U2:spark"

 
Edited

A fresh install rarely helps, especially when the problem is a mistake in your circuit.

By not including your circuit (the .ASY and .ASC files), you aren't helping us help you.? We can't run the same simulation you did, now, can we?

But consider the following lines inside the subcircuit that you did upload:

* Spark gap resistance
Rspark = 1e12 / Vspark

* Capacitance of gap
Cspark = 8.85e-12 * d

* Connect the model to the circuit
Cspark p n
Rspark p n


Look at what you have there.? You have a resistor named Rspark (connected to the nodes "=" and "1e12" with value "/ Vspark" which is obviously ridiculous) and then another resistor also named Rspark connected to nodes "p" and "n" with no value.? You can't do that.? Aside from the ridiculous nodenames and values, there can be only one resistor with the same name.? You violated that rule.

And then you have a capacitor named Cspark (connected to the nodes "=" and "8.85e-12" with another ridiculous value "* d"), and then another resistor capacitor also named Cspark connected to nodes "p" and "n" and no value.? Likewise, you can't ever have two capacitors with the same name.

What you uploaded is not valid SPICE syntax, despite being between .SUBCKT and .ENDS lines.? It's garbage.

? ? "There has to be something wrong with my subckt!?"

You have that right.? It is very wrong.? You need to start over because it is not valid SPICE syntax.? ?What are you to do now?? Start over.

Andy


Re: Multiple instances of "C:U2:spark"

 

I already have backups of my stuff, so I did a fresh install and before loading my backups I did an autogeneration of the spark gap and I got the same warning about the multiple instances. What am I to do now? There has to be something wrong with my subckt!?


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"

 

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: Multiple instances of "C:U2:spark"

 

File in temp labeled sparkgap.sub.


Multiple instances of "C:U2:spark"

 

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


No MAX31740 Spice Model

 

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?
Thanks,
John


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.
You should be able to easily see which resource is being used the most.

Are you sure the work PC has 128GB of ram?
Specifically, which processor?



--
K1FZY (WA4TPW) SK? 9/29/37-4/13/15


Re: Sim speed

 

Instead of guessing, use Task Manager to check the performance.
You should be able to easily see which resource is being used the most.

Are you sure the work PC has 128GB of ram?
Specifically, which processor?


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


Re: .imp file

 

开云体育

I don’t recommend opening it with a text editor.

11 lines of text, describing the file, 1 line “Binary:”, and 4 MB of … binary.

?

From: [email protected] <[email protected]> On Behalf Of John Woodgate
Sent: Sunday, July 02, 2023 12:41 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] .imp file

?

I didn't intend to do an FFT of an FFT, but that might have happened by accident.? A spectrum of a spectrum is a cepstrum, which has similar anagrammatic concepts such as quefrency.

======================================================================================
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-02 20:31, Andy I wrote:

John wrote, "but I've never seen an .IMP file before."

So you probably never did an FFT of an FFT before.? I think that is the only time you get such a file.? LTspice's Help recommends doing that as a way to get uniform timesteps.? There might be other reasons to do it, but it's not the first thing I ever think of doing.

Andy


Re: .imp file

 

开云体育

I didn't intend to do an FFT of an FFT, but that might have happened by accident.? A spectrum of a spectrum is a cepstrum, which has similar anagrammatic concepts such as quefrency.

======================================================================================
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-02 20:31, Andy I wrote:

John wrote, "but I've never seen an .IMP file before."

So you probably never did an FFT of an FFT before.? I think that is the only time you get such a file.? LTspice's Help recommends doing that as a way to get uniform timesteps.? There might be other reasons to do it, but it's not the first thing I ever think of doing.

Andy


Re: .imp file

 

John wrote, "but I've never seen an .IMP file before."

So you probably never did an FFT of an FFT before.? I think that is the only time you get such a file.? LTspice's Help recommends doing that as a way to get uniform timesteps.? There might be other reasons to do it, but it's not the first thing I ever think of doing.

Andy


Re: .imp file

 

开云体育

Well, I have done? a lot of FFTs in the past , and .FOUR, but I've never seen an .IMP file before.

======================================================================================
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-02 20:24, Andy I wrote:

It is indeed an "Impulse response" file, the result of performing an FFT of the FFT's output.? Like regular .fft files, LTspice leaves it around for you to delete if you choose to.? If I'm not mistaken, I think you can also drag and drop it in LTspice if you want to see it again.? Otherwise, it's not of much use to you.

Andy


Re: .imp file

 

It is indeed an "Impulse response" file, the result of performing an FFT of the FFT's output.? Like regular .fft files, LTspice leaves it around for you to delete if you choose to.? If I'm not mistaken, I think you can also drag and drop it in LTspice if you want to see it again.? Otherwise, it's not of much use to you.

Andy


Re: Sim speed

 

Have you modified the settings in LTspice so that? temporary files and working files are in a folder on the ramdisk?