PostProcess_mpc module

The PYPOWER extension converts Case objects to PYPOWER cases and writes results from a power flow calculation back to the orignal case instance. The module PostProcess_CIM_files defines function to be used for preprocessing CIM files before they are parsed with the PyCIM RDFXMLReader. Most often it means fixing certain HTML tags.

Note

This module is based mostly on the the started but never finished OpenSource project Cim2BusBranch https://www.versioneye.com/Python/Cim2BusBranch/0.1

See also

CIM2Matpower.cim_to_mpc() and the Matlab functions MPC_NODAL2BB and MPC_BB2NODAL

Date:2016-05-10
Authors:Konstantin Gerasimov
e-mail:kkgerasimov@gmail.com
Credits:This function is created for KU-Leuven as part of the GARPUR project http://www.garpur-project.eu
PostProcess_mpc._fill_branch_array(branch_array, branch, bus_ids)[source]

Fills the array of a gen with its values.

PostProcess_mpc._fill_bus_array(bus_array, bus, bus_id)[source]

Fills the array of a bus with its values.

PostProcess_mpc._fill_gen_array(gen_array, gen, bus_ids)[source]

Fills the array of a gen with its values.

PostProcess_mpc._make_branch_list(branches, bus_ids)[source]

Creates a list of branches for PYPOWER.

PostProcess_mpc._make_bus_list(case)[source]

Creates a list ob bus arrays for PYPOWER.

PostProcess_mpc._make_bus_names(case)[source]

Creates a list with the busnames.

PostProcess_mpc._make_gen_list(generators, bus_ids)[source]

Creates a list of generators for PYPOWER.

PostProcess_mpc.create_mpc(case, node_breaker_topology)[source]

Creates and returns a Matpower case (mpc) from case.