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
| 1 | SlackRefFunc(g, name = "name", Generation = "Generation")
 | 
| g | The igraph object representing the power grid | 
| name | The vertex attribute containing node names | 
| Generation | The vertex attribute that contains the generation data. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.