I have an electric drive model consisting of a simple DC link, 3 phase VSI integrated with SiC MOSFETS imported from wolf speed,a look up table based PMSM and a controller for the inverter. Now, I want to investigate the influence of DC link voltage on the switching losses . I have a probe giving out a switching loss waveform with instantaneous values. How do I obtain the integral of these values to ?