# What is the correct way to measure DC power at the output of a boost converter in a Simulink simulation?

I modeled a DCDC boost converter, and I would like to measure the power at the output of the converter, I do not understand much about simulation times, sampling, and this sort of thing, so I do not know how to properly evaluate the actual output power of that converter, but I think it's not just V * I. Could someone give me some light?

The first method I used was to calculate Irms and Vrms and do the multiplication.

The second method was to get the Vrms to squared and divide by the Output Resistor

The method I used to calculate the average value of the power was to take the instantaneous value (just the multiplication of V and I) and go through the block "Mean" using as fundamental frequency 25kHz which is the switching frequency.

Are any of these methods correct, all wrong, or is there any better way to do this in simulink? • You probably meant V*I, which is just that, the (instantaneous) power. If it's the output of a boost converter, the values will be DC, with some ripple. If the ripple is to great to let you analyse the DC power, then you should average that quantity. A cheap lowpass will do it; other, more complicated methods exist. – a concerned citizen May 11 '18 at 13:03
• Is it correct to measure the average value of the voltage and current with the block "Mean" using the fundamental frequency (Hz) the value of the inverter switching? For example 25kHz. – SrnLord May 11 '18 at 13:18
• @SrnLord yes, it is correct. – MathieuL May 11 '18 at 15:01