I have a generating source that produces irregular voltage and current, there is a phase shift between the current and voltage so there is active and reactive power. I have the Signals on a MATLAB/SIMULINK simulation. But since the signals are not sinusoidal I can find a suitable block in Simulink to make this calculatkion. any idea about this from Electrical Engneers
Thanks