Power System Network Power Flow Calculation with UPFC

This code implements a power flow calculation for a power system network, augmented with a Unified Power Flow Controller (UPFC).
279 Downloads
Updated 23 Jul 2023

View License

The code performs a power flow calculation for a power system network while incorporating the functionality of a Unified Power Flow Controller (UPFC). The UPFC is a flexible AC transmission system (FACTS) device that can regulate transmission line parameters, such as impedance and phase angle, to control power flow and voltage profiles.
Key Steps:
  1. Initialization: The code initializes the power system network with data related to generator settings, load demand, transmission lines, and the UPFC.
  2. Formulation of Power Flow Equations: The power flow equations are established based on Kirchhoff's current law (KCL) and Kirchhoff's voltage law (KVL), considering the presence of the UPFC to control power flow in specific areas.
  3. UPFC Control: The UPFC regulates the power flow and voltage profiles to enhance system stability. It dynamically adjusts the impedance and phase angle of the transmission lines.
  4. Iterative Solution: An iterative method is employed to solve the nonlinear power flow equations with the UPFC model. The code iteratively updates the voltage magnitudes and angles (VM and DL) using a Jacobian matrix until convergence is achieved.
  5. Convergence Check: The code verifies convergence by comparing the results of consecutive iterations. The power flow calculation continues until the specified convergence criteria are met.

Cite As

recent works (2024). Power System Network Power Flow Calculation with UPFC (https://www.mathworks.com/matlabcentral/fileexchange/132643-power-system-network-power-flow-calculation-with-upfc), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
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