Post Go back to editing

Model parameter definition in schematic

Thread Summary

The user encountered an error when using a custom NMOS model in later versions of the software, where the syntax 'LTE_N1(W=100)' was no longer accepted. The solution is to remove the parentheses and use 'LTE_N1 W=100'. The issue was resolved with this syntax change.
AI Generated Content
Category: Software
Product Number: LTspice
Software Version: > 24.0.9

Hello,

for education, we use a simple MOS model

".model LTE_N1 NMOS(Kp=30e-6 Vto=1 lambda=0.02 L=1 W=100)"

that we have defined in our own library, whose parameter (e.g. width) has to be stepped in schematic. Therefore, we used to place the NMOS model and set the field "Value" to

"LTE_N1(W=100)" or even "LTE_N1(W={W})"

This works in 24.0.9 but later versions give an error:

Unknown parameter
M2 N002 N002 0 0 LTE_N1(W=100)
                                              ^^^^^^^

Unfortunately I could not find a new syntax, so I would appreciate if someone could help out.

Kind Regards 

LTE-ST.libLTE-ST.asc

Parents Reply Children
No Data