Complex Power Block

Compute real, reactive, apparent, power factor and phase angle of a voltage-current pair
472 Downloads
Updated 17 Jul 2016

View License

Compute real, reactive, apparent, power factor and phase angle (deg) of a voltage-current pair at fundamental Frequency based on the following equations.
Real Power = mean(V*I)
Reactive Power = Apparent Power*sin(Phase Angle)
Apparent Power = Vrms*Irms
Power Factor = Real Power/Apparent Power
Phase Angle = acos(Power Factor)
For the first cycle of simulation, the outputs are held constant to the powers computed for the Voltage initial input and Current initial input parameters.

Cite As

Rodney Tan (2024). Complex Power Block (https://www.mathworks.com/matlabcentral/fileexchange/58272-complex-power-block), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0