https://electronicsbeliever.com/how-to-compute-mosfet-switching-losses/
How to Compute MOSFET Switching Losses