ElectricalCentrality: Electrical Edge Centrality

Description Usage Arguments Details

View source: R/ElectricalCentrality.R

Description

Calculates the electrical edge centrality of the graph

Usage

1
2
3
4
5
6
7
ElectricalCentrality(
  g,
  Node_name = "name",
  Generation = "Generation",
  Demand = "Demand",
  EdgeName = "Link"
)

Arguments

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

Details

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.


JonnoB/PowerGridNetworking documentation built on Aug. 7, 2021, 3:04 a.m.