Drive power measurement

how to measure the bus power and output power of the drive. The bus power I currently measure is 7721.2637W, and the measured output active power of the drive is 7721.2315W, while the total inverter IGBT losses are 199.8W, which does not add up. The current measurement method is as follows: bus power is measured by taking the product of the bus voltage and bus current after the capacitor and before the inverter bridge, and then passing it through a Periodic Average module. Output active power is measured using the two-wattmeter method based on the inverter output line voltage and current, and then pa

ssed through a Periodic Average module.