assume-framework / assume

ASSUME - Agent-based Simulation for Studying and Understanding Market Evolution
https://assume.readthedocs.io
20 stars 5 forks source link

Pypsa loader #311

Closed maurerle closed 4 months ago

maurerle commented 5 months ago

This adds a new loader for arbitrary pypsa networks.

Examples are given from the pypsa examples as:

These only contain a few hours of simulations, as the corresponding snapshots are not that large. Besides of the loads and generators, the buses are loaded and used for the grid visulaization and calculation, if a redispatch or grid related market is used.

Documentation of the pypsa loader has been added too.

image

This relies on the commits from #305 and has to be merged afterwards therefore

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.45%. Comparing base (9786d6b) to head (f5a2bd1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #311 +/- ## ======================================= Coverage 77.45% 77.45% ======================================= Files 43 43 Lines 5016 5016 ======================================= Hits 3885 3885 Misses 1131 1131 ``` | [Flag](https://app.codecov.io/gh/assume-framework/assume/pull/311/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | Coverage Δ | | |---|---|---| | [pytest](https://app.codecov.io/gh/assume-framework/assume/pull/311/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | `77.45% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.