|
AdaptiveStrategyAttack()
|
Make Strategy Adaptive |
|
AttackTheGrid_List()
|
Initiate power-grid attack simulation |
|
BalancedGenDem()
|
Balance Power network |
|
BalencedGenDem()
|
Balance Power network |
|
Cascade()
|
Calculate the effects of a cascade |
|
Cascade2()
|
Calculate the effects of a cascade |
|
Components_differ()
|
Find components of a graph that have changed
Find components of a graph that have changed |
|
CreateSubgraph()
|
Create Subgraph |
|
CreateTransmission()
|
Create Transmission Network |
|
DeleteCarefully()
|
Delete Carefully
This is a helper fucntion for the Fixed and Adaptive strategies. It is called by the functions FixedStrategyAttack and AdaptiveStrategyAttack..
It deletes nodes/edges without trying to delete more nodes/edges
than there are in the graph. It is a bit long and fiddly so is broken out for ease of maintenance.
It takes in a graph and outputs a smaller graph |
|
ElectricalCentrality()
|
Electrical Edge Centrality |
|
ElectricalDistance()
|
Electrical Distance |
|
EntropicDegree()
|
Dntropic Degree |
|
ExtendAttack()
|
Extend Attack |
|
ExtendMulltiAttack()
|
Extend Multi-Attack |
|
ExtractAttackStats()
|
Extracts Attack stats from saved |
|
ExtractNetworkStats()
|
Summarise attack Statistics |
|
FixedStrategyAttack()
|
Flexible Removal method |
|
GenerateAttackOrder()
|
Generate Attack order in multiple simulations |
|
ImpPTDF()
|
Create Impedance matrix and PTDF |
|
LinePropertiesMatrix()
|
Create the line Properties matrix |
|
Line_Limit_Volt_PF() Line_Limit_PF()
|
Create line limits using a linear model trained on the UK grid |
|
LoadLevel()
|
Get load level of power-grid
Calculates the fraction of maximum flow in each edge across a power-grid |
|
MultiAttackOrder()
|
Generate a dataframe of deletion orders |
|
Net_Ability()
|
Net-ability |
|
NetworkStats()
|
NetworkStats
Creates summary statistics of the network |
|
NextAttackSimulation()
|
Find the next attack simulation to be run |
|
NodePairs()
|
Node pairs |
|
PowerFlow()
|
Calculate DC power flow |
|
Proportional_Load()
|
Create proportional loading line limits |
|
RandomAttack()
|
Generate a random attack order |
|
RemoveDeadEnds()
|
Remove Dead Ends |
|
RoundRemoved()
|
Find Deletion order |
|
RoundTypeRemoved()
|
Round Removed and Type of Removal |
|
SaveMultiAttacks()
|
Save attack simulations to folder |
|
SlackRefFunc()
|
SlackRef |
|
SummariseMultiAttack()
|
Summarise Multi-Attack |
|
attack_the_grid()
|
Initiate power-grid attack simulation |
|
extract_network_stats()
|
Extract Network stats |
|
matpower_loader()
|
matpower Loader |
|
network_co_failure()
|
Network co-failure |
|
normalise_dc_load()
|
Normalise load |
|
union2()
|
Merge two graphs |