Sumamrises the attack statistics by extracting the information from the list of lists of graphs produced by the AttackTheGrid function.

ExtractNetworkStats(
  NetworkList,
  Generation = "BalencedPower",
  EdgeName = "name",
  PowerFlow = "PowerFlow",
  Link.Limit = "Link.Limit"
)

Arguments

NetworkList

The output of the AttackTheGridFunction

Generation

The name of the variable that stores the net generation data. character string

EdgeName

A character string. The default is "name".

PowerFlow

A character String. The default is "PowerFlow".

Link.Limit

A character string. The default is "Link.Limit".

Value

A dataframe

Details

The function summarises the effect of the attack on the network providing statistics on, Max component size, Total Nodes, Total Edges, Power Generated, Grid loading, Giant component fraction, Blackout size.