Calculates the electrical edge centrality of the graph
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.