Description Usage Arguments Details Value
View source: R/ExtractNetworkStats.R
Sumamrises the attack statistics by extracting the information from the list of lists of graphs produced by the AttackTheGrid function.
1 2 3 4 5 6 7 | ExtractNetworkStats(
NetworkList,
Generation = "BalencedPower",
EdgeName = "name",
PowerFlow = "PowerFlow",
Link.Limit = "Link.Limit"
)
|
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". |
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.
A dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.