The Backward/Forward Sweep is a power flow solution technique engineered for the unique characteristics of radial distribution networks. Unlike transmission systems, distribution feeders have a high resistance-to-reactance (R/X) ratio, making traditional Newton-Raphson methods unreliable. The algorithm exploits the tree-like, single-source topology by executing two distinct computational passes: a backward sweep that sums load and charging currents from the terminal nodes toward the substation, and a forward sweep that updates voltage magnitudes from the source outward using the calculated branch currents.
Glossary
Backward/Forward Sweep

What is Backward/Forward Sweep?
An iterative load flow algorithm specifically designed for radial distribution systems that calculates currents from the load end backward and updates voltages from the source forward.
During the backward pass, the algorithm applies Kirchhoff's Current Law (KCL) at each node, aggregating constant power, constant current, and constant impedance load models into an equivalent current injection. The forward pass then applies Kirchhoff's Voltage Law (KVL) to compute voltage drops across each line segment. This iterative process repeats until the voltage magnitude mismatch between successive sweeps falls below a specified convergence tolerance, typically within a few iterations due to the method's robust handling of radial topologies.
Key Characteristics of Backward/Forward Sweep
The backward/forward sweep method is the dominant iterative technique for solving power flow in radial distribution systems. It exploits the tree-like topology to achieve fast, robust convergence without requiring the complex Jacobian matrices used in Newton-Raphson methods.
Radial Topology Exploitation
The algorithm fundamentally relies on the radiality constraint of distribution feeders. Unlike meshed transmission systems, a radial network has a single path from the substation to each load.
- Tree Structure: The network is modeled as a directed graph with no closed loops.
- Layered Processing: Nodes are organized into layers based on their distance from the source, enabling sequential computation.
- No Jacobian Required: The method avoids the computationally expensive matrix inversion needed by Newton-Raphson, making it ideal for real-time applications in Distribution Automation (DA).
The Backward Sweep: Current Summation
Starting from the terminal nodes and moving toward the substation, the backward sweep calculates the current flowing through each branch.
- Load Current Calculation: At each node, the load current is computed using the specified power and the current voltage estimate:
I_load = (S_load / V_node)*. - Shunt Admittance: Charging currents from line capacitance are included at each node.
- Kirchhoff's Current Law: The branch current is the sum of the load current at the downstream node plus all currents in branches further downstream, moving layer by layer toward the source.
The Forward Sweep: Voltage Update
Once all branch currents are known, the forward sweep updates node voltages starting from the known substation voltage and moving outward to the feeder endpoints.
- Voltage Drop Calculation: The voltage at the downstream node
kis calculated asV_k = V_i - I_branch * Z_branch, whereV_iis the known upstream voltage. - DistFlow Equations: This sweep directly implements the recursive DistFlow Equations, which are the standard simplified power flow model for radial systems.
- Convergence Check: After the forward sweep, the maximum voltage magnitude mismatch between iterations is checked against a tolerance (e.g., 10^-6 p.u.).
Handling Distributed Generation
The basic algorithm is easily modified to incorporate Distributed Energy Resources (DERs) like rooftop solar, which act as negative loads or controlled current sources.
- PQ Node Model: A DER with specified active and reactive power output is treated as a negative constant power load in the backward sweep.
- PV Node Model: For voltage-controlled DERs, reactive power is adjusted iteratively to maintain the specified voltage magnitude, requiring a sensitivity-based compensation step within the sweep.
- Bidirectional Flow: The algorithm naturally handles reverse power flow from excess generation without reformulation, a key advantage for modern grids.
Convergence and Weak Mesh Handling
The method exhibits linear convergence characteristics and can be adapted for networks with a small number of loops, such as those created during Service Restoration (SR).
- Breakpoint Compensation: Weakly meshed networks are solved by "breaking" the loops at Normally Open Points (NOPs) and injecting compensating currents to simulate the closed loop.
- Robustness: It is highly robust for high R/X ratio lines typical of distribution, where Newton-Raphson often diverges.
- Computational Efficiency: The forward/backward sequence is computationally light, making it the standard engine inside Outage Management Systems (OMS) and real-time Digital Twin simulations.
Application in Feeder Reconfiguration
Backward/forward sweep is the core power flow engine inside heuristic optimization algorithms like the Branch Exchange Method for loss minimization.
- Loss Calculation: After each sweep, total active power loss is computed as
sum(I_branch^2 * R_branch). - Switching Evaluation: When a tie switch is closed and a sectionalizing switch opened, a new radial topology is formed. The sweep rapidly evaluates the losses of this candidate configuration.
- Voltage Constraint Check: The forward sweep output immediately reveals if any node violates the ANSI C84.1 voltage limits, allowing the Network Reconfiguration Algorithm to discard infeasible topologies.
Frequently Asked Questions
Clarifying the mechanics, applications, and limitations of the dominant load flow algorithm for radial distribution systems.
The Backward/Forward Sweep (BFS) is an iterative load flow algorithm specifically designed for radial distribution systems that calculates branch currents from the load end backward and updates bus voltages from the source forward. The mechanism operates in two distinct stages per iteration: the backward sweep computes the current flowing through each branch by summing the load currents and downstream branch currents, starting from the terminal nodes and moving toward the substation. The forward sweep then updates the voltage magnitude and angle at each node by subtracting the voltage drop across each branch, starting from the known source voltage and progressing outward. This process repeats until the voltage magnitude mismatch between successive iterations falls below a specified convergence tolerance, typically 0.0001 per unit. Unlike the Newton-Raphson method, BFS exploits the radial topology to avoid constructing and inverting a large Jacobian matrix, making it computationally efficient for ill-conditioned distribution networks with high R/X ratios.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Essential algorithms, constraints, and methodologies that intersect with the Backward/Forward Sweep load flow technique in radial distribution analysis.
DistFlow Equations
A simplified recursive formulation of power flow specifically derived for radial distribution networks. Unlike the full Newton-Raphson method, DistFlow equations exploit the tree structure to calculate voltage magnitudes and branch flows sequentially from the terminal nodes back to the substation. This mathematical framework provides the theoretical foundation for the Backward/Forward Sweep algorithm, expressing the relationship between active power, reactive power, and voltage drop across each line segment without requiring a large Jacobian matrix inversion.
Radiality Constraint
A fundamental operational rule mandating that distribution networks maintain a tree topology with no closed loops. This constraint is critical because:
- It simplifies protection coordination by ensuring fault currents flow in a single direction
- It enables the use of efficient algorithms like Backward/Forward Sweep that cannot converge on meshed networks
- It guarantees a unique path from the substation to every load node During network reconfiguration, maintaining radiality while transferring load between feeders is the primary combinatorial challenge.
Newton-Raphson Method
The dominant iterative technique for solving transmission system power flow, which contrasts sharply with Backward/Forward Sweep. Newton-Raphson constructs and inverts a large Jacobian matrix of partial derivatives to simultaneously solve for voltage angles and magnitudes. While robust for meshed transmission grids, it often suffers from convergence issues in distribution systems due to:
- High R/X ratios in distribution lines
- Radial or weakly-meshed topologies
- Unbalanced loading conditions The Backward/Forward Sweep was developed specifically to overcome these limitations.
Distribution Feeder Reconfiguration (DFR)
The process of altering the open/closed status of sectionalizing switches and tie switches to transfer load between feeders. Backward/Forward Sweep serves as the inner-loop power flow engine for most DFR algorithms because:
- Each candidate topology must be evaluated for voltage compliance and loss calculation
- The algorithm's speed allows thousands of configurations to be tested rapidly
- It accurately models the radial structure after each switching operation Heuristic methods like Branch Exchange rely on repeated BFS executions to find lower-loss topologies.
Conservation Voltage Reduction (CVR)
A grid efficiency technique that intentionally lowers service voltage to the lower bound of the ANSI C84.1 standard range to reduce energy consumption. Backward/Forward Sweep is essential for CVR planning because:
- It accurately predicts the voltage profile at every node under reduced substation voltage
- It verifies that no customer falls below the minimum allowable voltage
- It models the ZIP load behavior where constant impedance, current, and power loads respond differently to voltage changes Utilities use BFS simulations to quantify expected demand reduction before implementing CVR control strategies.
Three-Phase Unbalanced Analysis
Distribution systems inherently operate with unbalanced loading due to single-phase laterals and uneven customer connections. The Backward/Forward Sweep naturally extends to three-phase modeling by treating each phase conductor and the neutral as separate coupled elements. The algorithm computes:
- Phase voltages independently at each node
- Mutual coupling effects between phases in the backward current sweep
- Neutral-to-ground voltage rise caused by return currents This capability makes BFS the preferred method for analyzing voltage imbalance and neutral shift in real distribution feeders.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us