User:DennisChi

From LTwiki-Wiki for LTspice
Revision as of 13:52, 1 February 2024 by Lewispaul (talk | contribs) (Creating user page for new user.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Electronics Engineer with 40 years experience. Long time LTspice user.

I would like to post a correction to the page https://ltwiki.org/index.php?title=The_Arbitrary_Inductor_model

The equation for the control of sharpness has a error for even values of parameter a, like a = 2. For negative currents, raising x to the even power produces a positive result which produces a positive flux. The correct equation shown below corrects the sign of the flux for negative currents.

flux={L*Is}*sgn(x)*tanh((abs(x)/{Is})**{a})**{1/a}