File IO

File IO

General Data Formats

source
source

Matpower Data Files

The following two methods are the main exported methods for parsing matpower data files:

source
source

We also provide the following (internal) helper methods:

ensures all costs functions are quadratic and reverses their order

source

sets all line transformer taps to 1.0, to simplify line models

source

merges generator cost functions into generator data, if costs exist

source

merges bus name data into buses, if names exist

source
source
source
source
source
source
source
source

Attempts to determine the type of a string extracted from a matlab file

source

Attempts to determine the type of an array of strings extracted from a matlab file

source

takes a list of list of strings and turns it into a list of typed dictionaries

source

extends a give case data with typed dictionary data

source

converts arrays of objects into a dicts with lookup by "index"

source