Description Usage Arguments Details See Also
Iterates through the network removing edges until no edges are over the line limit and the network has stabilised.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
NetworkList |
A list of power-grid networks. |
Iteration |
The current iteration number |
StopCascade |
The number of iterations when cascade will be forced to terminate. An integer, default is set to infinity. |
g0 |
An igraph object. The graph in its initial state |
AZero |
a matrix. This is created by the 'CreateTransmission' function |
LineProperties |
a matrix This is created by the LinePropertiesMatrix function |
Generation |
The name of the node generation variable. A character string. |
Demand |
the name of the node Load variable. A character string. |
EdgeName |
The variable that holds the edge names, a character string. |
VertexName |
The variable that holds the names of the nodes, to identify the slack ref. a character string |
Net_generation |
The name that the net generation data for each node is held in |
power_flow |
A character string. This value indicates the name of the edge attribute that holds power flow, the default is "PowerFlow" |
edge_limit |
A character string. This value indicates the name of the edge attribute that holds the edge limit, the default is "Link.Limit" |
This is a recursive function that calls itself repeatedly until the cascade has come to a stop and the network has stabilised. The function produces a list of graphs showing each state of the cascade. This function is mostly used as part of the AttackTheGrid function.
attack_the_grid
,CreateTransmission
, LinePropertiesMatrix
Cascade(NetworkList,
Iteration = 0,
StopCascade = Inf,
g0 = NULL,
Generation = "Generation",
Demand = "Demand",
EdgeName = "Link",
VertexName = "name",
Net_generation = "BalencedPower",
power_flow = "PowerFlow",
edge_limit = "Link.Limit"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.