Complex Power Block
Version 1.0.0.0 (22.2 KB) by
Rodney Tan
Compute real, reactive, apparent, power factor and phase angle of a voltage-current pair
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 (2026). Complex Power Block (https://in.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 LinuxCategories
Find more on Sensors and Transducers in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
