SlackRefFunc: SlackRef

Description Usage Arguments

View source: R/SlackRef.R

Description

Finds the Slack node in each component of the power grid. A graph is put in and a data frame giving the slack reference for each component is returned. The Slack bus is the largest generator in that component

Usage

1
SlackRefFunc(g, name = "name", Generation = "Generation")

Arguments

g

The igraph object representing the power grid

name

The vertex attribute containing node names

Generation

The vertex attribute that contains the generation data.


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