¿ªÔÆÌåÓý

Re: Error with SW()


 

¿ªÔÆÌåÓý

Al, I don¡¯t think you can paste th4e model definition into the instance you create.

Make a separate definition, using the op tool:

.model MySW SW(Ron=1k0 Roff=10meg Vt=1.65 Vh=100m Lser=1u Vser=0)

Change the switch¡¯s name to MySW

?

Run

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Al Dutcher
Sent: Tuesday, May 14, 2024 5:04 AM
To: [email protected]
Subject: EXTERNAL: [LTspice] Error with SW()

?

Maybe i found a bug, or
what am i doing wrong?
.asc is uploaded

LTspice 24.0.9 for Windows
Circuit: * C:\users\alzie\My Documents\LTspice\Ori\PecoFerd2.asc
Start Time: Tue May 14 08:01:13 2024
Error on line 4 : s1 n003 n002 n001 0 sw(ron=1k0 roff=10meg vt=1.65 vh=100m lser=1u vser=0)
? ? ?Unable to find definition of model "sw"
solver = Normal
Maximum thread count: 8
tnom = 27
temp = 27
method = modified trap
.OP point found by inspection.
Total elapsed time: 2.341 seconds.

Join [email protected] to automatically receive all group messages.