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?