Teaching a man to fish, is good ....I'm slightly embarrassed as I scoured that STMicro url looking for the Mosfet Spice model, but I failed to look carefully in the Ecad folder. I thank you again for testing the code and supplying the test code that helped me. Question for you: ON LTSpice I can control-click and get a power trace sometimes ... or type in an expression of current In * voltage and get a power trace. Do you know if there is any way to get the average power over the scope window time frame? I thought it was the control key or Alt key option .... but I'm using a Macbook and that doesn't seem to work. Can you demystify what needs to be done?.. Thanks in advance.. MrPixelI downloaded the model from the STMicroelectronics website.
I created the symbol and always do a basic test to ensure it "works".
However, I'm not responsible for how well the model is designed, that's up to the author(s).
Glad it work for you...








