Skip to main content

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

Authors

The mosaik-pypower is developed by Stefan Scherfke.

Metadata

Release files for mosaik-pypower 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mosaik-pypower 0.5
File Size Uploaded Provenance Actions
mosaik-pypower-0.5.tar.gz 15.6 kB Without provenance Details for mosaik-pypower-0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mosaik-pypower 0.5
File Interpreter ABI Platform Actions
mosaik_pypower-0.5-py34-none-any.whl Python 3.4 none any Details for mosaik_pypower-0.5-py34-none-any.whl

Total release size: 24.9 kB

Release files / mosaik-pypower-0.5.tar.gz

Download URL mosaik-pypower-0.5.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ca13790e71f3b3cb55bffb2234663fb9c8bf142bd2a698d4751bec0ce7dae90f
BLAKE2b-256 checksum
How to use checksums
4594f3101f6b13e279ba54a8108cb6843d33f3c6b1b87ee2ab7c96c0bafa2451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mosaik_pypower-0.5-py34-none-any.whl

Download URL mosaik_pypower-0.5-py34-none-any.whl
Size 9.3 kB
Tags Python 3.4
SHA-256 checksum
How to use checksums
597d97a17d10771adba24921e1ea40bdda5ec0c38a173da9767b0d2c4c9df375
BLAKE2b-256 checksum
How to use checksums
ec7d30f4adbe5a52100bd2a648450c13631c5b561400957850d0752da2b2991c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mosaik-pypower 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page