An adapter to use pandapower with mosaik.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mosaik-pandapower-0.2.2.tar.gz
.
File metadata
- Download URL: mosaik-pandapower-0.2.2.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b318c5d5e96863d515d5d85cb9f6ad8b7891141d6af8f5de8c0796a7985351 |
|
MD5 | c48d1b11811ed57cdfc0851e035dd0b8 |
|
BLAKE2b-256 | c2350be4171958736008d94bfec139e7d3f0b60da8f22f6c731bf3f3a127622a |
File details
Details for the file mosaik_pandapower-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: mosaik_pandapower-0.2.2-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e54be61fe7ed335730784c082613f71075df28beae48a7384dc0166d1960781 |
|
MD5 | 14a9777df7cc1f64a5a6c511a989a7b5 |
|
BLAKE2b-256 | c2795db369f8f04b304885590316afbae52ffe5035110498e6c96d3676f64b72 |