matpower_loader: matpower Loader

Description Usage Arguments Examples

View source: R/matpower_loader.R

Description

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.

Usage

1
matpower_loader(file_path, output_graph = TRUE)

Arguments

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

Examples

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.

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