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.
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 |
# 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.