Description Usage Arguments Examples
View source: R/matpower_loader.R
This function loads the branch and bus data sections from the matpower dataformat. The loader has only been tested on the ieee power flow test cases. together is more efficient than producing each one on its own.
1 | matpower_loader(file_path, output_graph = TRUE)
|
file_path |
A character string. The path of the matpower file |
output_graph |
A logical value. This determines whether the function ouputs an igraph network of the matpower file or a two element list where the first element is the bus/node data and the second element is the branch data |
1 2 | # This example requires the loading of a matpower file. I don't know how to add raw datasets
#to the package yet so this will have to wait.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.