Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various improvements for pypsa and amiris loader #509

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Dec 4, 2024

We did have some problems with the Amiris and PyPSA loaders, which are about to be fixed in this PR.

This also fixes the deprecation warning in PyPSA.

When running a distributed simulation using MQTT, it helps to set_tcp_nodelay=true in the MQTT config to improve performance a lot.

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 41.17647% with 10 lines in your changes missing coverage. Please review.

Project coverage is 76.52%. Comparing base (1681b84) to head (e23e693).

Files with missing lines Patch % Lines
assume/common/grid_utils.py 0.00% 5 Missing ⚠️
assume/markets/clearing_algorithms/redispatch.py 0.00% 3 Missing ⚠️
assume/common/outputs.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #509      +/-   ##
==========================================
- Coverage   76.53%   76.52%   -0.02%     
==========================================
  Files          51       51              
  Lines        6874     6879       +5     
==========================================
+ Hits         5261     5264       +3     
- Misses       1613     1615       +2     
Flag Coverage Δ
pytest 76.52% <41.17%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maurerle
Copy link
Member Author

maurerle commented Dec 6, 2024

This shows the actual power flows on the grid dashboard:
We should implement flows for redispatch and naive solution as well

demo-assume2--general-assume-nodal-view--nodalview.mp4

(Sequence done with grafanimate --scenario=demo.py:assume_grid --output=./animations --use-panel-events --headless and a demo.py file)

after running assume -s example_01d -c nodal_case -db "postgresql+psycopg2://assume:assume@localhost:5432/assume"

@maurerle
Copy link
Member Author

maurerle commented Dec 9, 2024

this is ready for review now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant