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).

You are now following this Submission

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 (2026). Power System Network Power Flow Calculation with UPFC (https://uk.mathworks.com/matlabcentral/fileexchange/132643-power-system-network-power-flow-calculation-with-upfc), 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