An adapter to use PYPOWER with mosaik.
Project description
mosaik-pypower
This package contains the Adapter to connect PYPOWER to mosaik.
Installation
mosaik-pypower currently requires an experimental branch of PYPOWER with Python 3 support which you have to install first:
$ pip install git+https://github.com/sscherfke/PYPOWER.git@py2and3#egg=PYPOWER $ pip install mosaik-pypower
You can run the tests with:
$ hg clone https://bitbucket.org/mosaik/mosaik-pypower $ cd mosaik-pypower $ pip install -r requirements.txt $ py.test
Input File Format
The adapter uses a simple JSON based format for input files:
{ "base_mva": <global_base_mva>, "bus": [ ["<bus_id>", "<bus_type>", <base_kv>], ... ], "trafo": [ ["<trafo_id>", "<from_bus_id>", "<to_bus_id>", <Sr_MVA>, <v1_%>, <P1_MW>, <Imax_p_A>, <Imax_s_A>], ... ], "branch": [ ["<branch_id>", "<from_bus_id>", "<to_bus_id>", <length_km>, <R'_ohm/km>, <X'_ohm/km>, <C'_nF/km>, <I_max_A>], ... ] }
where:
<bus_id>, <trafo_id>, <branch_id> need to be unique names
<bus_type> may be “PQ”, “PV” or “REF”
There may only be one REF bus and it must be the first in the list
Changelog
0.5 – 2014-03-26
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mosaik-pypower-0.5.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for mosaik_pypower-0.5-py34-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 597d97a17d10771adba24921e1ea40bdda5ec0c38a173da9767b0d2c4c9df375 |
|
MD5 | e24b73c7f18ad9782d2c635e1699a495 |
|
BLAKE2b-256 | ec7d30f4adbe5a52100bd2a648450c13631c5b561400957850d0752da2b2991c |