Description Usage Arguments Details
View source: R/ElectricalCentrality.R
Calculates the electrical edge centrality of the graph
1 2 3 4 5 6 7 | ElectricalCentrality(
g,
Node_name = "name",
Generation = "Generation",
Demand = "Demand",
EdgeName = "Link"
)
|
g |
An igraph object of a power network. |
Node_name |
Is the vertex attribute that contains the node names. |
Generation |
The vertex attribute containing the node generation data. |
Demand |
The vertex attribute containing the node generation data. |
EdgeName |
A character string. The edge attribute that contains the edge names |
This is an implementation of Wang et al 2011 Physica A, "An electrical betweeness approach for vulnerability assesment of power grids considering the capacity generators and load Can only be used on a single component graph, if the graph has multiple components calculate for each component individually and add the results together.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.