Re: Ferromagnetic core modeling.


 
Змінено

On Tue, Dec 17, 2024 at 08:03 PM, Richard Andrews wrote:
... I asked google's Gemini AI "Proper method to model a ferromagnetic core with LTspice?". Gemini was kind enough to include a code example.
...
 
Would this be a good start to modeling ferromagnetic cores?
I rather doubt it.  Gemini seems to have gotten it wrong again (no surprise!) because none of that is documented syntax for LTspice.  Although there is some syntax that LTspice accepts that is undocumented - usually in an attempt to work with models that were unique to other SPICE-like simulators (PSpice, HSPICE) - I suspect what Gemini came up with is too far off-base and is likely to be rejected.  Did you try it?  What did LTspice say about it?
 
I think it's another case of AI er, I mean, AU (Artificial unIntelligence).
 
To be fair, it did get the voltage source right.  ;-)
 
I recall that HSPICE had magnetic models of this sort which could be described in mechanical terms.  Presumably HSPICE used some sort of built-in pre-processor to convert the mechanical description into inductances, much the same as you can get from stand-alone tools or websites that can do the same thing for you.
 
Andy
 

Приєднайтеся до {LTspice@groups.io, щоб автоматично отримувати всі повідомлення групи.