Complex Power Block

Compute real, reactive, apparent, power factor and phase angle of a voltage-current pair

You are now following this Submission

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://nl.mathworks.com/matlabcentral/fileexchange/58272-complex-power-block), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0