https://9pdf.info/document/z3dogde7-converter-power-losses-computation-fpga-based-hil-simulator.html