https://electronicsbeliever.com/quasi-resonant-flyback-primary-current-derivation/pic-9-4-3/
pic-9-4