Midas Smart Nord Data Simulator
This package contains a midas module providing a simulator for the Smart Nord data set. Although this package is intended to be used with midas, it can be used in any mosaik simulation scenario.
Version: 2.1
Installation
This package will usually installed automatically together with midas-mosaik if you opt-in for the base extra.
It is available on pypi, so you can install it manually with
pip install midas-sndata
Usage
The complete documentation is available at https://midas-mosaik.gitlab.io/midas.
Inside of midas
To use the powergrid inside of midas, just add sndata to your modules
my_scenario:
modules:
- sndata
- ...
and configure it with:
sndata_params:
my_grid_scope:
step_size: 900 # <-- Default value
grid_name: my_grid_scope
active_mapping:
1: [[Land_0, 1.0], [Land_2, 1.5]]
3: [[House_000, 1.0]]
The mapping has to match to the grid that you're using.
Any mosaik scenario
If you don't use midas, you can add the sndata manually to your mosaik scenario file.
First, the entry in the sim_config:
sim_config = {
"SmartNordData": {
"python": "midas_smartnord.simulator:SmartNordDataSimulator"
},
# ...
}
Next, you need to start the simulator (assuming a step_size of 900):
sndata_sim = world.start(
"SmartNordData",
step_size=900,
start_date="2020-01-01 00:00:00+0100",
data_path="/path/to/folder/where/dataset/is/located/",
filename="smart_nord_profiles.csv", # this is default
)
Then the models can be started:
land1 = sndata_sim.CalculatedQTimeSeries(name="Land_0", scaling=1.0)
land2 = sndata_sim.CalculatedQTimeSeries(name="Land_2", scaling=1.5)
house1 = sndata_sim.CalculatedQTimeSeries(name="House_000", scaling=1.0)
Finally, the modells need to be connected to other entities:
world.connect(land1, other_entity, "p_mw", "q_mvar")
License
This software is released under the GNU Lesser General Public License (LGPL). See the license file for more information about the details.
The data set is a result from the research project Smart Nord.
Metadata
Release files for midas-sndata 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| midas_sndata-2.1.0.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| midas_sndata-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / midas_sndata-2.1.0.tar.gz
| Download URL | midas_sndata-2.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04c02c655d70b0e9ae65ed822fd8a7a44916cc97a9958540a6f0dc5172631772
|
|
BLAKE2b-256 checksum How to use checksums |
21fcdbf28c044bb48c8b281ce476ad2e25046d54e8fbf0f2b2bcd8db64ffe2ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / midas_sndata-2.1.0-py3-none-any.whl
| Download URL | midas_sndata-2.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aefbe52581a7036c0fc073825bd6f560f56128fecff2e18f7e30fa4e2b01a0a7
|
|
BLAKE2b-256 checksum How to use checksums |
8ada84d7c87bae5df6f8dc782a52925c2374c889cd4e85a2b957998bea6f0f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for midas-sndata 2.1.0
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.