pypsa-pl

PyPSA-PL: optimisation model of the Polish energy system

https://github.com/instrat-pl/pypsa-pl

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 16 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

PyPSA-PL: optimisation model of the Polish energy system

Basic Info
Statistics
  • Stars: 25
  • Watchers: 4
  • Forks: 7
  • Open Issues: 0
  • Releases: 4
Created over 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

PyPSA-PL: optimisation model of the Polish energy system

Introduction

PyPSA-PL is an implementation of the energy modelling framework PyPSA shipped with a use-ready dataset tailored for the Polish energy system. PyPSA-PL can be used to plan optimal investments in the power, heating, hydrogen, and light vehicle sectors – given the final use demand together with capital and operation costs for assets – or just to optimise the hourly dispatch of the utility units – given the final use demand and operation costs only. That makes it a useful tool to investigate the feasibility of decarbonisation scenarios for the Polish energy system in which a large share of electricity is supplied by variable sources like wind and solar.

Installation and usage

PyPSA-PL has been developed and tested using Python 3.10. The project dependencies can be installed using the Poetry tool according to the pyproject.toml file. Alternatively, you can use any other Python package manager – the dependencies are also listed in the requirements.txt file. Additionally, you will need to install an external solver (see PyPSA manual).

PyPSA-PL-mini notebooks can be deployed on the Google Colab platform. To do so, navigate to one of the PyPSA-PL-mini application notebooks in the notebooks directory. In the notebook, click the "Open in Colab" banner and follow the instructions provided therein.

Input data and assumptions

This table lists the main input data sources. More detailed source attribution can be found in the input spreadsheets themselves.

Input | Source -- | ---- Technology and carrier definitions | Kubiczek P. (2024). Technology and carrier definitions for PyPSA-PL model. Instrat. Technological and cost assumptions | Kubiczek P., Żelisko W. (2024). Technological and cost assumptions for PyPSA-PL model. Instrat. Installed capacity assumptions | Kubiczek P. (2024). Installed capacity assumptions for PyPSA-PL model. Instrat. Annual energy flow assumptions | Kubiczek P. (2024). Annual energy flow assumptions for PyPSA-PL model. Instrat. Capacity utilisation assumptions | Kubiczek P. (2024). Capacity utilisation assumptions for PyPSA-PL model. Instrat. Installed capacity potential and maximum addition assumptions | Kubiczek P. (2024). Installed capacity potential and maximum addition assumptions for PyPSA-PL model. Instrat. Electricity final use time series | ENTSO-E. (2023). Total Load—Day Ahead / Actual. Transparency Platform. https://transparency.entsoe.eu/load-domain/r2/totalLoadR2/show Wind and solar PV availability time series | De Felice, M. (2022). ENTSO-E Pan-European Climatic Database (PECD 2021.3) in Parquet format. Zenodo. https://doi.org/10.5281/zenodo.7224854

Gonzalez-Aparicio, I., Zucker, A., Careri, F., Monforti, F., Huld, T., Badger, J. (2021). EMHIRES dataset: Wind and solar power generation. Zenodo. https://doi.org/10.5281/zenodo.4803353 Temperature data used to infer space heating demand and heat pump COP time series | IMGW. (2023). Dane publiczne. Instytut Meteorologii i Gospodarki Wodnej. https://danepubliczne.imgw.pl/ Daily space heating demand time series | Ruhnau, O., Muessel, J. (2023). When2Heat Heating Profiles. Open Power System Data. https://doi.org/10.25832/when2heat/2023-07-27 Traffic data used to infer light vehicle mobility and BEV charging time series | GDDKiA. (2023). Stacje Ciągłych Pomiarów Ruchu (SCPR). Generalna Dyrekcja Dróg Krajowych i Autostrad. https://www.gov.pl/web/gddkia/stacje-ciaglych-pomiarow-ruchu

Publications and full datasets

Here you can find the list of publications based on the PyPSA-PL results and links to the full datasets stored in Zenodo.

  • Kubiczek, P., Smoleń, M. (2024). Three challenging decades. Scenario for the Polish energy transition out to 2050. Instrat Policy Paper 03/2024. https://instrat.pl/three-challenging-decades/ DOI
  • Kubiczek, P., Smoleń, M., Żelisko, W. (2023). Poland approaching carbon neutrality. Four scenarios for the Polish energy transition until 2040. Instrat Policy Paper 06/2023. https://instrat.pl/poland-2040/ DOI
  • Kubiczek P. (2023). Baseload power. Modelling the costs of low flexibility of the Polish power system. Instrat Policy Paper 04/2023. https://instrat.pl/baseload-power/ DOI
  • Kubiczek P., Smoleń M. (2023). Poland cannot afford medium ambitions. Savings driven by fast deployment of renewables by 2030. Instrat Policy Paper 03/2023. https://instrat.pl/pypsa-march-2023/ DOI

Acknowledgements

The current version of PyPSA-PL is a successor of the PyPSA-PL v1 developed by Instrat in 2021. The following publications were based on the PyPSA-PL v1 results:

  • Czyżak, P., Wrona, A. (2021). Achieving the goal. Coal phase-out in Polish power sector. Instrat Policy Paper 01/2021. https://instrat.pl/coal-phase-out
  • Czyżak, P., Sikorski, M., Wrona, A. (2021). What’s next after coal? RES potential in Poland. Instrat Policy Paper 06/2021. https://instrat.pl/res-potential
  • Czyżak, P., Wrona, A., Borkowski, M. (2021). The missing element. Energy security considerations. Instrat Policy Paper 09/2021. https://instrat.pl/energy-security

License

The code is released under the MIT license. The input and output data are released under the CC BY 4.0 license.

© Fundacja Instrat 2024

Owner

  • Name: Instrat
  • Login: instrat-pl
  • Kind: organization
  • Email: info@instrat.pl
  • Location: Warsaw, PL

Warsaw-based think tank with a mission of supercharging policies and public opinion with open data and research for a fair, green and digital economy

GitHub Events

Total
  • Release event: 1
  • Watch event: 6
  • Push event: 3
  • Fork event: 1
  • Create event: 1
Last Year
  • Release event: 1
  • Watch event: 6
  • Push event: 3
  • Fork event: 1
  • Create event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 36
  • Total Committers: 4
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.222
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Patryk Kubiczek p****k@i****l 28
paczyzak 5****k 5
micas-pro m****2@g****m 2
Mateusz Sienkan s****z@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 1
  • Total pull requests: 3
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 5 months
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • LukeBlueLOx (1)
Pull Request Authors
  • micas-pro (2)
  • sin (1)
  • patryk-kubiczek (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • Cartopy ==0.17.0
  • ConfigArgParse ==1.2.3
  • GitPython ==3.1.7
  • PySocks ==1.7.1
  • PyUtilib ==5.8.0
  • PyYAML ==5.3.1
  • Pygments ==2.6.1
  • SQLAlchemy ==1.3.18
  • Shapely ==1.7.0
  • appdirs ==1.4.3
  • arrow ==0.15.7
  • attrs ==19.3.0
  • backcall ==0.2.0
  • blinker ==1.4
  • brotlipy ==0.7.0
  • certifi ==2020.6.20
  • cffi ==1.14.0
  • cftime ==1.2.0
  • chardet ==3.0.4
  • click ==7.1.2
  • colorama ==0.4.3
  • cplex ==12.10.0.0
  • cryptography ==2.9.2
  • cycler ==0.10.0
  • datrie ==0.8.2
  • decorator ==4.4.2
  • dill ==0.3.2
  • docplex ==2.14.186
  • docutils ==0.16
  • entrypoints ==0.3
  • et-xmlfile ==1.0.1
  • geographiclib ==1.50
  • geopy ==2.1.0
  • gitdb ==4.0.5
  • importlib-metadata ==1.7.0
  • ipython-genutils ==0.2.0
  • jdcal ==1.4.1
  • joblib ==0.16.0
  • jsonschema ==3.2.0
  • jupyter-core ==4.6.3
  • kiwisolver ==1.2.0
  • mkl-fft ==1.1.0
  • mkl-random ==1.1.1
  • mkl-service ==2.3.0
  • nbformat ==5.0.7
  • netCDF4 ==1.5.3
  • networkx ==2.4
  • numexpr ==2.7.1
  • numpy ==1.17.5
  • olefile ==0.46
  • openpyxl ==3.0.4
  • pandas ==0.25.3
  • parso ==0.7.0
  • patsy ==0.5.1
  • plotly ==4.13.0
  • ply ==3.11
  • proj ==0.2.0
  • prompt-toolkit ==3.0.5
  • psutil ==5.7.0
  • psycopg2-binary ==2.8.5
  • pvlib ==0.7.2
  • pyOpenSSL ==19.1.0
  • pyepsg ==0.4.0
  • pykdtree ==1.3.1
  • pyparsing ==2.4.7
  • pyproj ==2.6.1.post1
  • pypsa ==0.17.0
  • pyrsistent ==0.16.0
  • pyshp ==2.1.0
  • python-dateutil ==2.8.1
  • pytz ==2020.1
  • pywin32 ==227
  • pyzmq ==19.0.1
  • ratelimiter ==1.2.0.post0
  • retrying ==1.3.3
  • scikit-learn ==0.23.1
  • seaborn ==0.10.1
  • six ==1.15.0
  • smmap ==3.0.4
  • snakemake ==5.20.1
  • tables ==3.6.1
  • threadpoolctl ==2.1.0
  • toposort ==1.5
  • tornado ==6.0.4
  • tqdm ==4.56.0
  • traitlets ==4.3.3
  • urllib3 ==1.25.9
  • win-inet-pton ==1.1.0
  • wincertstore ==0.2
  • wrapt ==1.12.1
  • xarray ==0.15.1
  • xlrd ==1.2.0
  • zipp ==3.1.0
poetry.lock pypi
  • 153 dependencies
pyproject.toml pypi
  • adjusttext ^0.8
  • gurobipy ^10.0.2
  • highspy ^1.5.3
  • jupyter ^1.0.0
  • kaleido 0.2.1
  • linopy 0.1.5
  • numpy ^1.24.2
  • openpyxl ^3.1.2
  • pandas ^1.5.3
  • plotly ^5.13.1
  • pypsa ^0.23.0
  • python ^3.10
  • seaborn ^0.12.2
  • xarray ^2023.5.0