Skip to main content

mosaik-pypower

This package contains the Adapter to connect PYPOWER to mosaik.

Installation

You can install mosaik-pypower via pip:

$ 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.6.3 – 2014-09-22

  • [CHANGE] Updated to mosaik-api 2.0.

0.6.2 – 2014-07-31

  • [CHANGE] Chache xlsx files to improve performance

  • [CHANGE] Updated to mosaik-api 2.0a4.

0.6.1 – 2014-06-30

  • [NEW] Added I_max_p [A] and I_max_s [A] to the transformer data.

0.6 – 2014-06-26

  • [NEW] Can import grids from Excel files (xlsx)

  • [NEW] New import format for JSON files (the old format is still supported)

  • [CHANGE] Massive internal refactoring.

  • [CHANGE] Updated to mosaik-api 2.0a3.

0.5 – 2014-03-26

  • Initial release

Authors

The mosaik-pypower is developed by Stefan Scherfke.

Metadata

Release files for mosaik-pypower 0.6.3

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.6.3
File Size Uploaded Provenance Actions
mosaik-pypower-0.6.3.tar.gz 18.1 kB Without provenance Details for mosaik-pypower-0.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mosaik-pypower 0.6.3
File Interpreter ABI Platform Actions
mosaik_pypower-0.6.3-py3-none-any.whl Python 3 none any Details for mosaik_pypower-0.6.3-py3-none-any.whl

Total release size: 29.7 kB

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

Download URL mosaik-pypower-0.6.3.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a5bd912cdf26f5c592b4fb46b6fd49fb907d0dad3d92131ff284402a7c921334
BLAKE2b-256 checksum
How to use checksums
be18c9be3eebf4e283a95699ec366c1143a060339301158afa36eba931e847ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mosaik_pypower-0.6.3-py3-none-any.whl

Download URL mosaik_pypower-0.6.3-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc33da2ac47c627eead3ca4358e8732081dea5e32e6569309208014dd2bda957
BLAKE2b-256 checksum
How to use checksums
3410dc212e9d0d0964fb2f52b391085012aca16d629755c94e2803230a2ca6ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mosaik-pypower 0.6.3

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