Complex Power Block
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |