https://electronicsbeliever.com/quasi-resonant-flyback-primary-current-derivation/
Quasi Resonant Flyback Primary Current Derivation