mosaik-powerplant
Simulator for Powerplants in mosaik. The adapter was initially developed by Konstantin Meyer and adjusted for the mosaik-project by Malte Trauernicht.
Installation
To use this project, you have to install at least version 3.2.0 of mosaik
It is recommended, to use the Mosaik-CSV Library to import powerplant data
You can install this project through pip with the following command:
pip install mosaik-powerplant
How to Use
Specify simulators configurations within your scenario script:
sim_config = {
'CSV': {
'python': 'mosaik_csv:CSV',
},
'PowerPlant': {
'python': 'mosaik_components.powerplant:Simulator'
},
...
}
Initialize the powerplant- and csv-simulator:
powerplantData = world.start("CSV",
sim_start=SIM_START,
datafile=POWERPLANT_DATA)
powerplant_simulator = world.start('PowerPlant',
step_size=18000,
number_of_schedules=3,
ramp_behavior=[2, 2],
min_power=0.5,
max_power=3,
interval_size=1)
Instantiate model entities:
powerplant_data = powerplantData.NaturalGas() powerplant_sim_model = powerplant_simulator.Powerplant()
Connect wind- with csv-simulator:
world.connect(powerplant_data, powerplant_sim_model, 'p_mw')
CSV-Formatting
For the simulator to work correctly, both .csv files have to be specifically formatted!
The csv-data is formatted accordingly to the conventions of the mosaik_csv simulator:
Name Date,p_mw YYYY-MM-DD HH:mm:ss,v1 YYYY-MM-DD HH:mm:ss,v2 ...
Each entry in the .csv needs a Date in the YYYY-MM-DD HH:mm:ss format and a data value v.
Changelog
0.1.0 - 2024-03-06
Initial release of the mosaik-powerplant simulator
Metadata
Release files for mosaik-powerplant 0.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 | Actions |
|---|---|---|---|---|
| mosaik_powerplant-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for mosaik_powerplant-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mosaik_powerplant-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mosaik_powerplant-0.1.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / mosaik_powerplant-0.1.0.tar.gz
| Download URL | mosaik_powerplant-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51c1f4bf9bdaa17de435ffe10aca43800328f4e678d53c64482e115693314f3a
|
|
BLAKE2b-256 checksum How to use checksums |
a8acf124fdb3089638e70b1f3f5d5bf0d4e015d8aea5c0521c0640b9319bdb49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.9.18 Linux/5.4.109+
|
Release files / mosaik_powerplant-0.1.0-py3-none-any.whl
| Download URL | mosaik_powerplant-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd02192f0072eb5827d3314b26769a6d5e15f48d43b56e5179648aa268e8090a
|
|
BLAKE2b-256 checksum How to use checksums |
124713dd74049b6d6e21e7778d1ed1616068b7304379825f7751f91654e6eb6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.9.18 Linux/5.4.109+
|
Security for mosaik-powerplant 0.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.