A Service Restoration Algorithm is a computational engine that determines the optimal sequence of switching operations to re-energize de-energized customers after fault isolation, respecting thermal limits and voltage constraints. It solves a constrained optimization problem to maximize load restoration while preventing feeder overloads and voltage violations.
Glossary
Service Restoration Algorithm

What is Service Restoration Algorithm?
A computational engine that determines the optimal sequence of switching operations to re-energize de-energized customers after fault isolation, respecting thermal limits and voltage constraints.
The algorithm ingests real-time Distribution System State Estimation data and network topology, then evaluates candidate switching plans using heuristics or mixed-integer programming. It coordinates with FDIR and Self-Healing Grid architectures to execute restoration via IEC 61850 GOOSE Messaging to Intelligent Electronic Devices, minimizing outage duration.
Key Features of Service Restoration Algorithms
A service restoration algorithm is a computational engine that determines the optimal sequence of switching operations to re-energize de-energized customers after fault isolation, respecting thermal limits and voltage constraints. The following cards break down the essential features that define a robust and practical restoration engine.
Topology Reconfiguration & Spanning Tree Search
The core of any restoration algorithm is the ability to dynamically reconfigure the network's radial or weakly-meshed topology. After a fault is isolated by FDIR systems, the algorithm searches for alternative supply paths by closing normally-open tie switches and opening sectionalizing switches. This is often modeled as a spanning tree search problem on a graph, where the objective is to find a new radial configuration that maximizes load restored while respecting operational constraints. The algorithm must account for the real-time status of all Intelligent Electronic Devices (IEDs) and switching devices to ensure the proposed sequence is physically executable.
Constraint-Aware Load Flow Validation
A proposed restoration plan is only valid if it does not violate the physical limits of the grid. The algorithm must integrate with a load flow engine to validate each switching step against critical constraints:
- Thermal Limits: Ensure no line or transformer is overloaded beyond its ampacity rating.
- Voltage Constraints: Maintain bus voltages within ANSI C84.1 limits (typically ±5% of nominal).
- Radiality Constraint: The restored topology must remain strictly radial to prevent circulating currents and protection miscoordination. Advanced algorithms use sensitivity analysis to predict voltage drops and line flows before committing to a switching sequence.
Multi-Objective Optimization Engine
Restoration is rarely a single-objective problem. The algorithm must balance competing goals using a weighted sum or Pareto-optimal approach. Key objectives include:
- Maximize Load Restored: Prioritize critical loads like hospitals and emergency services.
- Minimize Switching Operations: Reduce wear on switchgear and minimize transient disturbances.
- Minimize Network Losses: Select the configuration with the lowest I²R losses post-restoration.
- Minimize Customer Interruption Duration: Favor plans that can be executed fastest. The algorithm outputs a ranked list of feasible restoration plans, allowing the operator to select the most appropriate trade-off.
Distributed Generation & Microgrid Integration
Modern restoration algorithms must treat Distributed Energy Resources (DERs) as active participants, not just negative load. This includes:
- Intentional Islanding: Identifying sections of the network that can be isolated and sustained by local generation and battery storage, forming a stable microgrid.
- Black Start Capability: Coordinating the sequential re-energization of a dead bus using a grid-forming inverter or a diesel generator with black start capability.
- Fault Current Contribution: Accounting for the limited (1.1-1.5 pu) and sometimes unpredictable fault current from inverter-based resources, which can blind conventional overcurrent protection if not modeled correctly. The algorithm must verify frequency and voltage stability within the island before committing to the separation.
Adaptive Protection Re-Coordination
A change in network topology invalidates the existing protection coordination study. A sophisticated restoration algorithm includes an adaptive protection module that calculates new relay settings or selects a pre-computed settings group for the new configuration. This prevents nuisance tripping and ensures selectivity. The algorithm communicates new pickup currents and time-dial settings to relays via IEC 61850 GOOSE messaging or by activating alternative settings groups. Without this feature, a restored network may experience sympathetic tripping on inrush current or fail to clear a subsequent fault.
Sequential Switching & Cold Load Pickup Modeling
The algorithm generates a step-by-step switching sequence, not just a final topology. This sequence must account for cold load pickup (CLPU) — the inrush current from thermostatically controlled loads (HVAC, refrigeration) that have been off during the outage. CLPU can be 2-10 times the normal load and last for minutes. The algorithm models this delayed exponential decay to ensure that closing a breaker does not immediately trip it again on instantaneous overcurrent. It may stagger the restoration of large feeders to manage the aggregate inrush and prevent a secondary outage.
Frequently Asked Questions
Explore the computational logic behind automated power restoration, answering common questions about how these algorithms re-energize customers while respecting thermal limits and voltage constraints.
A Service Restoration Algorithm is a computational engine that determines the optimal sequence of switching operations to re-energize de-energized customers after fault isolation, while strictly respecting thermal limits and voltage constraints. The algorithm operates on a graph representation of the distribution network, where nodes represent buses and edges represent feeder sections with associated impedances and capacities. Upon receiving a fault isolation signal from the Fault Detection, Isolation, and Recovery (FDIR) system, the algorithm identifies the out-of-service area and searches for feasible restoration paths through normally-open tie switches to adjacent feeders. It evaluates candidate switching sequences using objective functions that typically minimize outage duration, number of switching operations, and line losses. The solution must satisfy operational constraints including radial topology maintenance, feeder ampacity limits, and voltage drop boundaries defined by ANSI C84.1 standards. Modern implementations leverage heuristic search methods, mixed-integer linear programming, or multi-agent systems to solve this combinatorial optimization problem within seconds, enabling self-healing grid functionality.
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
A service restoration algorithm does not operate in isolation. It relies on a constellation of protection, communication, and optimization technologies to safely re-energize customers after a fault event.
Fault Detection, Isolation, and Recovery (FDIR)
The overarching automation architecture within which the service restoration algorithm executes. FDIR provides the trigger event—a confirmed, isolated fault—and defines the healthy feeder sections available for reconfiguration. The restoration engine is the final 'R' in the FDIR loop, computing the optimal switching sequence to minimize the System Average Interruption Duration Index (SAIDI).
Self-Healing Grid
A distribution network topology that uses the service restoration algorithm as its core decision-making brain. In a self-healing grid, the algorithm continuously monitors real-time topology and load data. Upon fault isolation, it autonomously dispatches IEC 61850 GOOSE messages to open/close tie-switches and sectionalizers, achieving restoration in under 60 seconds without operator intervention.
Grid Topology Optimization
The mathematical foundation of service restoration. The algorithm solves a constrained optimization problem:
- Objective: Maximize restored load while minimizing switching operations
- Constraints: Radiality, thermal limits, voltage bounds (ANSI C84.1 Range A)
- Methods: Heuristic search, genetic algorithms, or mixed-integer linear programming (MILP) The output is a target switching configuration that respects all operational limits.
IEC 61850 GOOSE Messaging
The high-speed communication protocol that executes the restoration algorithm's decisions in the physical world. Generic Object Oriented Substation Events (GOOSE) messages are multicast across the substation LAN with less than 4ms latency. The restoration engine publishes trip/close commands for multiple breakers simultaneously, ensuring coordinated, high-speed reconfiguration without point-to-point wiring.
Distribution System State Estimation
The real-time situational awareness input that feeds the restoration algorithm. Distribution System State Estimation (DSSE) infers voltage magnitudes and angles at unmonitored nodes using limited AMI and SCADA data. The restoration engine uses this estimated state to validate that a candidate switching plan will not cause voltage violations or overload healthy feeders before committing to execution.
Adaptive Protection Scheme
A protection philosophy that dynamically adjusts relay settings to match the post-restoration topology. When the service restoration algorithm reconfigures the network, fault current paths and magnitudes change. Adaptive protection automatically recalculates pickup currents and time-current coordination curves for the new configuration, preventing sympathetic tripping and maintaining selectivity during the repair period.

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