Skip to content
Snippets Groups Projects
Nikolaus Wirtz's avatar
Nikolaus Wirtz authored
removed unnecessary import statements, fixed requirements file, converted xlsx input file to xls file (could not be processed by xlrd otherwise), reduced all loads in input file by factor 10, in RBO_Service_Restoration.py fixed wrong column reference in function detect_fault and code to get switch names to close from graph attributes in function flisr_dijkstra
6a3603b8
History

Rule-Based Optimized Service Restoration (RBOSR)

Introduction

The service restoration aims at reconfiguring the electrical network after the occurrence of faults, in which the protection system coordinates the tripping of circuit breakers upstream and downstream of the fault location. Distribution networks are managed with radial scheme; therefore, the nodes downstream of the faulted zone become de-energized and they have to be re-powered from an alternative source. The algorithm present in this repository considers, among the de-energized nodes, the one with highest priority as target for the restoration and identifies which is the most suitable primary substation to energize it, by closing the normally open bus-tie unit. The restoration schemes from each substation toward the target node are evaluated with a state estimation approach (which also allows to check the voltage, thermal and radiality constraints); the algorithm considers total power losses and utilization of the most consumed electrical lines as objectives included in the Multi-Critera Decision Making (MCDM) approach, set by the users. Once the selected tie unit successfully closes, the process repeats until all the de-energized loads are restored or the constraints are violated. The algorithm is able to manages multiple/cascade faults in active distribution grids (with Distributed Energy Resources).

Contents

This repository contains the following material:

Usage

Instructions to use the service restoration algorithm:

  1. The two Python codes and the excel file must be located in the same folder.
  2. Configure the excel sheet, providing information about grid topology, loads, switches and fault location (set the tripped circuit breakers).
  3. If changed, set the excel file name in the RBOSR Python code (in line 910).
  4. Set the comparison factors uL1, uL2, uL3, u12, u13 and u23 according to the MCDM desired restoration targets in the RBO_Service_Restoration Python code (in line 928). Additional information are found in the papers "How to make a decision: The analytic hierarchy process", author: Thomas L. Saaty and A. Dognini, A. Sadu, A. Angioni, F. Ponci and A. Monti, "Service Restoration Algorithm for Distribution Grids under High Impact Low Probability Events," 2020 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), The Hague, Netherlands, 2020, pp. 237-241.
  5. Run the Python code RBO_Service_Restoration.py, which retrieves the faulted grid data, computes the possible existing solutions and publishes the results.

Considerations about the RBOSR Python code:

  • The code has been developed with Python 3.7
  • It needs, among others, the installation of the following libraries:
    • pandas
    • networkx
    • psycopg2

Run the following command to install the required dependencies:

pip install -r requirements.txt

Documentation

Documentation about the distribution system state estimator can be found in the following website: https://git.rwth-aachen.de/acs/public/automation/rbosr

Publications

For additional information, refer to the following articles:

Copyright

2019, Institute for Automation of Complex Power Systems, EONERC

License

This project is released under the terms of the GPL version 3.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

For other licensing options please consult Prof. Antonello Monti.

Contact

EONERC ACS Logo

Institute for Automation of Complex Power Systems (ACS) EON Energy Research Center (EONERC) RWTH University Aachen, Germany