Skip to main content

mosaik-pandapower

This package contains an adapter to connect pandapower to mosaik.

Input

Grid import can be done from Json or Excel files, and the file should exist in the working directory of mosaik scenario:

sim_config = {
   'Grid': {
        'python': 'mosaik_pandapower.simulator:Pandapower'
        }
}

GRID_FILE = 'path to the file.json' or  'path to the file.xlsx'
gridsim = world.start('Grid', step_size=15*60)
grid = gridsim.Grid(gridfile=GRID_FILE).children
  • In pandapower library there exist a list of standard grids that can be directly imported and simulated. An overview is given in the documentation

The following list of grid clusters that could be simulated by this model are:

  • Simbench:

    GRID_FILE = 'name of the simbench grid'

To use Simbench grid, simbench has to be installed with ‘pip install simbench’

  • Cigre networks:

    GRID_FILE = 'cigre_(voltage level: hv,mv,lv)'
  • Cigre network with DER:

    GRID_FILE = 'cigre_mv_all' or 'cigre_mv_pv_wind'
  • Power system Cases : these networks exist as Json files in ~/pandapower/networks/power_system_test_case_jsons

    these files should be copied in the working directory and imported as json file

Examples

Examples of the mosaik-pandapower adapter can be found in a seperated repository.

Changelog

0.2.2 - 2023-01-10

  • Fix indexing for grids with non-sequential element indices

0.2.1 - 2022-07-13

  • Fix activation of connected loads and generators in setup_done

0.2.0 - 2022-02-28

  • Added storage attribute

  • Adapted handling of input values for in_service and controllable

  • Fix load cigre network via gridfile

0.1.0 - 2021-08-31

  • Initial release of mosaik-pandapower adapter

Authors

The author of the mosaik-pandapower adapter is Rami Elshinawy.

Additional contributors: Annika Ofenloch, Fernando Penaherrera, Jan Sören Schwarz, Eike Schulte

Metadata

Release files for mosaik-pandapower 0.2.2

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-pandapower 0.2.2
File Size Uploaded
mosaik-pandapower-0.2.2.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mosaik-pandapower 0.2.2
File Interpreter ABI Platform
mosaik_pandapower-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 41.0 kB

Release files / mosaik-pandapower-0.2.2.tar.gz

Download URL mosaik-pandapower-0.2.2.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e0b318c5d5e96863d515d5d85cb9f6ad8b7891141d6af8f5de8c0796a7985351
BLAKE2b-256 checksum
How to use checksums
c2350be4171958736008d94bfec139e7d3f0b60da8f22f6c731bf3f3a127622a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / mosaik_pandapower-0.2.2-py3-none-any.whl

Download URL mosaik_pandapower-0.2.2-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e54be61fe7ed335730784c082613f71075df28beae48a7384dc0166d1960781
BLAKE2b-256 checksum
How to use checksums
c2795db369f8f04b304885590316afbae52ffe5035110498e6c96d3676f64b72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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