This is the code used for my paper applying SETSe to cascading failures in the power-grid. The paper attacks 6 different power grids
This paper explores how graph embedding can be used as a proxy for the robustness of power-grids to cascading failure. It focuses on the Strain Elevation Tension Spring embeddings (SETSe) algorithm and compares it to two other graph embedding algorithms as well as the metrics mean edge capacity and Line Load. These 5 methods are used to model the collapse point of the giant component of the network under random attack. The analysis uses 6 power-grid networks, the IEEE load flow test cases 14, 30, 57, 118, 300 as well as the UK high voltage network.
Usually, cascading failure research uses loadings proportional to the initial flow of the network; this paper deviates from that by loading the edges of the network so that they have different range of tolerances.
Over 300,000 attack scenarios are generated for each network and the point that the giant component is lost in each case. The paper finds that SETSe and Line Load are appropriate methods to model robustness with an
The main code file is setse_robustness_code.Rmd. The majority of the code is written in R a small amount uses Python and the Stellar graph library. Most of the calculations of this project were done on the UCL Myriad HPC system. For ease of use the project has a small self-contained R package called RobustnessInternal. This package is documented but has no examples as it is used primarily to simplify the code in the script.
This repo depends on the following to other repo's
This work follows on from the paper The spring bounces back. The repository for the code used in that paper is found in SETSe_assortativity_and_clusters