{"id":327093,"name":"PyPSA-Spain","description":"An extension of PyPSA-Eur to model the Spanish Energy System.","url":"https://github.com/cristobal-gc/pypsa-spain","last_synced_at":"2026-04-20T16:30:25.619Z","repository":{"id":249161287,"uuid":"830635494","full_name":"cristobal-GC/pypsa-spain","owner":"cristobal-GC","description":"PyPSA-Spain is an open-source model of the Spanish energy system based on the European model PyPSA-Eur","archived":false,"fork":true,"pushed_at":"2026-04-08T09:39:06.000Z","size":131720,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-15T14:02:17.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypsa-spain.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"PyPSA/pypsa-eur","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cristobal-GC.png","metadata":{},"created_at":"2024-07-18T16:52:43.000Z","updated_at":"2026-04-08T09:39:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cristobal-GC/pypsa-spain","commit_stats":null,"previous_names":["cristobal-gc/pypsa-spain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cristobal-GC/pypsa-spain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristobal-GC","download_url":"https://codeload.github.com/cristobal-GC/pypsa-spain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32012787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"cristobal-GC","name":null,"uuid":"83344529","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/83344529?v=4","repositories_count":1,"last_synced_at":"2023-05-06T11:25:44.548Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/cristobal-GC","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-05-06T11:25:44.567Z","updated_at":"2023-05-06T11:25:44.567Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristobal-GC","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristobal-GC/repositories"},"packages":[],"commits":{"id":11517670,"full_name":"cristobal-gc/pypsa-spain","default_branch":"master","total_commits":4742,"total_committers":103,"total_bot_commits":521,"total_bot_committers":3,"mean_commits":46.03883495145631,"dds":0.7144664698439477,"past_year_total_commits":399,"past_year_total_committers":44,"past_year_total_bot_commits":44,"past_year_total_bot_committers":3,"past_year_mean_commits":9.068181818181818,"past_year_dds":0.7343358395989975,"last_synced_at":"2026-04-17T15:10:00.092Z","last_synced_commit":"fc736bd69a43deaa36ff696647198d569712e0b0","created_at":"2025-10-20T00:05:48.733Z","updated_at":"2026-04-17T15:03:52.094Z","committers":[{"name":"Fabian Neumann","email":"fabian.neumann@outlook.de","login":"fneum","count":1354},{"name":"pre-commit-ci[bot]","email":"66853113+pre-commit-ci[bot]","login":"pre-commit-ci[bot]","count":453},{"name":"Fabian","email":"fab.hof@gmx.de","login":"FabianHofmann","count":431},{"name":"lisazeyen","email":"lisa.zeyen@web.de","login":"lisazeyen","count":358},{"name":"Jonas Hörsch","email":"jonas.hoersch@kit.edu","login":"coroa","count":244},{"name":"Tom Brown","email":"tom@nworbmot.org","login":"nworbmot","count":216},{"name":"Cristóbal José Gallego Castillo","email":"83344529+cristobal-GC","login":"cristobal-GC","count":208},{"name":"martavp","email":"martavictoriaperez@gmail.com","login":"martavp","count":119},{"name":"martacki","email":"martha.frysztacki@kit.edu","login":"martacki","count":116},{"name":"Lukas Trippe","email":"lkstrp@pm.me","login":"lkstrp","count":97},{"name":"Philipp Glaum","email":"p.glaum@tu-berlin.de","login":"p-glaum","count":96},{"name":"AmosSchledorn","email":"amos.schledorn@icloud.com","login":"amos-schledorn","count":89},{"name":"Koen van Greevenbroek","email":"koen.v.greevenbroek@uit.no","login":"koen-vg","count":79},{"name":"virio-andreyana","email":"114650479+virio-andreyana","login":"virio-andreyana","count":78},{"name":"Adam-Dvorak1","email":"92300992+Adam-Dvorak1","login":"Adam-Dvorak1","count":63},{"name":"euronion","email":"42553970+euronion","login":"euronion","count":62},{"name":"github-actions[bot]","email":"41898282+github-actions[bot]","login":"github-actions[bot]","count":49},{"name":"Bobby Xiong","email":"36541459+bobbyxng","login":"bobbyxng","count":44},{"name":"Parisra","email":"102019906+Parisra","login":"Parisra","count":38},{"name":"Michael Lindner","email":"michaellindner@posteo.de","login":"lindnemi","count":37},{"name":"LukasFrankenQ","email":"lukas.franken@ed.ac.uk","login":"LukasFrankenQ","count":36},{"name":"Thomas Gilon","email":"thomas.gilon@openenergytransition.org","login":"tgilon","count":33},{"name":"millingermarkus","email":"markus.millinger@chalmers.se","login":"millingermarkus","count":27},{"name":"Thomas Gilon","email":"tgi@climact.com","login":"tgi-climact","count":26},{"name":"Max Parzen","email":"max.parzen@ed.ac.uk","login":"pz-max","count":26},{"name":"toniseibold","email":"tseibold.tub@gmail.com","login":"toniseibold","count":23},{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":19},{"name":"ekatef","email":"e.v.kasilova@gmail.com","login":"ekatef","count":18},{"name":"chrstphtrs","email":"christoph.tries@tu-berlin.de","login":"chrstphtrs","count":17},{"name":"cpschau","email":"124347782+cpschau","login":"cpschau","count":16},{"name":"Jeroen Peters","email":"hgppeters@gmail.com","login":"Heronimonimo","count":15},{"name":"yerbol-akhmetov","email":"yerbol.akhmetov.93@gmail.com","login":"yerbol-akhmetov","count":15},{"name":"Irieo","email":"iegor.riepin@gmail.com","login":"Irieo","count":14},{"name":"cpschau","email":"caspar.schauss@ieg.fraunhofer.de","login":"cschau-ieg","count":13},{"name":"Daniel Rüdt","email":"117752024+daniel-rdt","login":"daniel-rdt","count":12},{"name":"Gorm Bruun Andresen","email":"gba@eng.au.dk","login":"GormBruunAndresen","count":11},{"name":"Bryn Pickering","email":"17178478+brynpickering","login":"brynpickering","count":10},{"name":"jonathan-peel","email":"52451628+jonathan-peel","login":"jonathan-peel","count":9},{"name":"energyls","email":"leon1.schumm@oth-regensburg.de","login":"energyLS","count":8},{"name":"Leon","email":"5868911+leonsn","login":"leonsn","count":8},{"name":"Ebbe Kyhl","email":"69363603+ebbekyhl","login":"ebbekyhl","count":7},{"name":"JulianGeis","email":"JulianGeis@gmx.net","login":"JulianGeis","count":7},{"name":"Fabian Hofmann","email":"hofmann@users.fias.science","login":null,"count":7},{"name":"Martha Maria","email":"53824825+eb5194","login":"eb5194","count":6},{"name":"TomKae00","email":"144129436+TomKae00","login":"TomKae00","count":6},{"name":"Jan Frederick","email":"jan.frederick.unnewehr@inatech.uni-freiburg.de","login":"JanFrederickUnnewehr","count":6},{"name":"Julio Pascual","email":"108464786+jpscl","login":"jpscl","count":5},{"name":"Johannes Schmidt","email":"johannes.schmidt@boku.ac.at","login":"joph","count":5},{"name":"Eric Nitschke","email":"eric.nitschke@tuhh.de","login":"Eric-Nitschke","count":5},{"name":"Adrian Odenweller","email":"adrian.odenweller@pik-potsdam.de","login":"aodenweller","count":5},{"name":"eb5194","email":"eb5194@iai-esm003.iai.kit.edu","login":null,"count":4},{"name":"Seth","email":"78690362+thesethtruth","login":"thesethtruth","count":4},{"name":"Davide Fioriti","email":"67809479+davide-f","login":"davide-f","count":4},{"name":"stefan-oet","email":"199089757+stefan-oet","login":"stefan-oet","count":4},{"name":"Thomas Kouroughli","email":"tomkourou@icloud.com","login":"Tomkourou","count":4},{"name":"Fabrizio Finozzi","email":"167071962+finozzifa","login":"finozzifa","count":4},{"name":"JuliaSvn","email":"144602424+JuliaSvn","login":"JuliaSvn","count":4},{"name":"Ahmad","email":"ahmedwahid16101@gmail.com","login":"Ahmad-Wahid","count":4},{"name":"daniel.rdt","email":"daniel.ruedt@campus.tu-berlin.de","login":null,"count":3},{"name":"nnhjy","email":"jiangyi.huang@outlook.com","login":"nnhjy","count":3},{"name":"Amos Schledorn","email":"60692940+amosschle","login":"amosschle","count":3},{"name":"Chiara Anselmetti","email":"40397544+chiaroo","login":"chiaroo","count":3},{"name":"Thomas Ginster","email":"4083648+thogin","login":"thogin","count":3},{"name":"pworschischek-aggmag","email":"163411786+pworschischek-aggmag","login":"pworschischek-aggmag","count":3},{"name":"Sermisha","email":"sermisha.narayana@openenergytransition.org","login":"SermishaNarayana","count":2},{"name":"Francesco Witte","email":"github@witte.sh","login":"fwitte","count":2},{"name":"lumbric","email":"lumbric@gmail.com","login":"lumbric","count":2},{"name":"LucieRC","email":"104382956+LucieRC","login":"LucieRC","count":2},{"name":"Daniele Lerede","email":"daniele.lerede@openenergytransition.org","login":"danielelerede-oet","count":2},{"name":"Ebbe Kyhl Gøtske ekg@mpe.au.dk","email":"au485969@fe1.prime.net","login":null,"count":2},{"name":"vs2788","email":"vs2788@iai-esm003.iai.kit.edu","login":null,"count":2},{"name":"Qui-Rin","email":"94053589+Qui-Rin","login":"Qui-Rin","count":1},{"name":"Ricardo","email":"ricardo.fernandes@mpe.au.dk","login":"ricnogfer","count":1},{"name":"Tim Pedersen","email":"ttp@mpe.au.dk","login":"TimToernes","count":1},{"name":"Uzair Aftab","email":"48220549+Uzaaft","login":"Uzaaft","count":1},{"name":"Will Usher","email":"wusher@kth.se","login":"willu47","count":1},{"name":"Zoltán Marić","email":"5569474+zoltanmaric","login":"zoltanmaric","count":1},{"name":"fhg-isi","email":"76424482+fhg-isi","login":"fhg-isi","count":1},{"name":"huckebrink","email":"68848357+huckebrink","login":"huckebrink","count":1},{"name":"lukasnacken","email":"47030274+lukasnacken","login":"lukasnacken","count":1},{"name":"zoltanmaric","email":"zoltanmaric@git.com","login":null,"count":1},{"name":"d-fine dev","email":"info@d-fine.de","login":null,"count":1},{"name":"Sourcery AI","email":"","login":null,"count":1},{"name":"Max Parzen","email":"m.parzen@sms.ed.ac.uk","login":null,"count":1},{"name":"thomgeo","email":"gkt@hotmail.de","login":"thomgeo","count":1},{"name":"Aleks Grochowicz","email":"63586524+aleks-g","login":"aleks-g","count":1},{"name":"Alexander Meisinger","email":"91368938+AlexanderMeisinger","login":"AlexanderMeisinger","count":1},{"name":"Arnaud Leroy","email":"arnaud.leroy@kit.edu","login":"arnaud-leroy","count":1},{"name":"Aymeric Buriez","email":"104848250+Aym-brz","login":"Aym-brz","count":1},{"name":"Blake Eldridge","email":"93080426+blakeldridge","login":"blakeldridge","count":1},{"name":"Bruno Vieira","email":"brunovieira@fico.com","login":"brunoficoxpress","count":1},{"name":"Chenyan Ye","email":"133563090+yechenyan","login":"yechenyan","count":1},{"name":"Christian Doh Dinga","email":"127748593+ChristianDDinga","login":"ChristianDDinga","count":1},{"name":"Jack Gregory","email":"77354448+jack-gregory","login":"jack-gregory","count":1},{"name":"Jess","email":"122939887+jessLryan","login":"jessLryan","count":1},{"name":"Koen van Greevenbroek","email":"74298901+koen-van-greevenbroek","login":"koen-van-greevenbroek","count":1},{"name":"Kristijan Faust","email":"kristijan.faust@openenergytransition.org","login":"KristijanFaust-OET","count":1},{"name":"Laurent Drouet","email":"ldrouet@pm.me","login":"lolow","count":1},{"name":"Lissy Langer","email":"54096244+lilanger","login":"lilanger","count":1},{"name":"Luis Prieto","email":"69161060+lprieto1409","login":"lprieto1409","count":1},{"name":"Lukas","email":"97829088+LTBK23","login":"LTBK23","count":1},{"name":"Markus Groissböck","email":"markus.groissbock@openenergytransition.org","login":"gincrement","count":1},{"name":"Mohammad Amin Tahavori","email":"50955527+mohammadamint","login":"mohammadamint","count":1}],"past_year_committers":[{"name":"Cristóbal José Gallego Castillo","email":"83344529+cristobal-GC","login":"cristobal-GC","count":106},{"name":"Lukas Trippe","email":"lkstrp@pm.me","login":"lkstrp","count":44},{"name":"Fabian Neumann","email":"fabian.neumann@outlook.de","login":"fneum","count":40},{"name":"Thomas Gilon","email":"thomas.gilon@openenergytransition.org","login":"tgilon","count":28},{"name":"github-actions[bot]","email":"41898282+github-actions[bot]","login":"github-actions[bot]","count":25},{"name":"Bobby Xiong","email":"36541459+bobbyxng","login":"bobbyxng","count":19},{"name":"Johannes HAMPP","email":"42553970+euronion","login":"euronion","count":16},{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":13},{"name":"Bryn Pickering","email":"17178478+brynpickering","login":"brynpickering","count":10},{"name":"jonathan-peel","email":"52451628+jonathan-peel","login":"jonathan-peel","count":9},{"name":"Daniel Rüdt","email":"117752024+daniel-rdt","login":"daniel-rdt","count":9},{"name":"Amos Schledorn","email":"60692940+amos-schledorn","login":"amos-schledorn","count":9},{"name":"Fabian Hofmann","email":"fab.hof@gmx.de","login":"FabianHofmann","count":7},{"name":"Michael Lindner","email":"michaellindner@posteo.de","login":"lindnemi","count":7},{"name":"pre-commit-ci[bot]","email":"66853113+pre-commit-ci[bot]","login":"pre-commit-ci[bot]","count":6},{"name":"Jonas Hörsch","email":"coroa@posteo.de","login":"coroa","count":6},{"name":"JuliaSvn","email":"144602424+JuliaSvn","login":"JuliaSvn","count":4},{"name":"stefan-oet","email":"199089757+stefan-oet","login":"stefan-oet","count":4},{"name":"TomKae00","email":"144129436+TomKae00","login":"TomKae00","count":3},{"name":"Toni","email":"153275395+toniseibold","login":"toniseibold","count":3},{"name":"cpschau","email":"124347782+cpschau","login":"cpschau","count":3},{"name":"Daniele Lerede","email":"daniele.lerede@openenergytransition.org","login":"danielelerede-oet","count":2},{"name":"Eric Nitschke","email":"eric.nitschke@tuhh.de","login":"Eric-Nitschke","count":2},{"name":"Markus Millinger","email":"50738187+millingermarkus","login":"millingermarkus","count":2},{"name":"Martha Frysztacki","email":"martha.frysztacki@gmail.com","login":"martacki","count":2},{"name":"Thomas Ginster","email":"4083648+thogin","login":"thogin","count":2},{"name":"Yerbol Akhmetov","email":"113768325+yerbol-akhmetov","login":"yerbol-akhmetov","count":1},{"name":"Will Usher","email":"wusher@kth.se","login":"willu47","count":1},{"name":"Virio Andreyana","email":"114650479+virio-andreyana","login":"virio-andreyana","count":1},{"name":"Philipp Glaum","email":"95913147+p-glaum","login":"p-glaum","count":1},{"name":"Parisa Rahdan","email":"102019906+Parisra","login":"Parisra","count":1},{"name":"Mohammad Amin Tahavori","email":"50955527+mohammadamint","login":"mohammadamint","count":1},{"name":"Lukas Franken","email":"lukas.b.franken@gmail.com","login":"LukasFrankenQ","count":1},{"name":"Luis Prieto","email":"69161060+lprieto1409","login":"lprieto1409","count":1},{"name":"Kristijan Faust","email":"kristijan.faust@openenergytransition.org","login":"KristijanFaust-OET","count":1},{"name":"Koen van Greevenbroek","email":"74298901+koen-vg","login":"koen-vg","count":1},{"name":"Jack Gregory","email":"77354448+jack-gregory","login":"jack-gregory","count":1},{"name":"Iegor Riepin","email":"iegor.riepin@gmail.com","login":"Irieo","count":1},{"name":"Fabrizio Finozzi","email":"167071962+finozzifa","login":"finozzifa","count":1},{"name":"Bruno Vieira","email":"brunovieira@fico.com","login":"brunoficoxpress","count":1},{"name":"Blake Eldridge","email":"93080426+blakeldridge","login":"blakeldridge","count":1},{"name":"Aymeric Buriez","email":"104848250+Aym-brz","login":"Aym-brz","count":1},{"name":"Aleks Grochowicz","email":"63586524+aleks-g","login":"aleks-g","count":1},{"name":"Adrian Odenweller","email":"adrian.odenweller@pik-potsdam.de","login":"aodenweller","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-gc%2Fpypsa-spain/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-19T00:00:13.908Z","repositories_count":6214331,"commits_count":900128597,"contributors_count":34915678,"owners_count":1143434,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"cristobal-GC/pypsa-spain","html_url":"https://github.com/cristobal-GC/pypsa-spain","last_synced_at":"2026-02-20T12:00:32.769Z","status":"active","issues_count":1,"pull_requests_count":8,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":2221937.6666666665,"issues_closed_count":0,"pull_requests_closed_count":6,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":7,"past_year_issues_count":1,"past_year_pull_requests_count":6,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":2684376.75,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":4,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":6,"past_year_merged_pull_requests_count":2,"created_at":"2025-08-29T13:48:44.784Z","updated_at":"2026-02-20T12:00:32.769Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristobal-GC%2Fpypsa-spain/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":1},"pull_request_author_associations_count":{"NONE":7,"OWNER":1},"issue_authors":{"yasirroni":1},"pull_request_authors":{"github-actions[bot]":7,"cristobal-GC":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-13T00:00:15.727Z","repositories_count":14245560,"issues_count":34660409,"pull_requests_count":113196172,"authors_count":11233439,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":1},"past_year_pull_request_author_associations_count":{"NONE":5},"past_year_issue_authors":{"yasirroni":1},"past_year_pull_request_authors":{"github-actions[bot]":5},"maintainers":[{"login":"cristobal-GC","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/cristobal-GC"}],"active_maintainers":[]},"events":{"total":{"ReleaseEvent":2,"DeleteEvent":8,"PullRequestEvent":14,"ForkEvent":2,"IssuesEvent":1,"WatchEvent":13,"IssueCommentEvent":1,"PushEvent":143,"PullRequestReviewEvent":1,"CreateEvent":11},"last_year":{"ReleaseEvent":1,"DeleteEvent":5,"PullRequestEvent":8,"ForkEvent":2,"IssuesEvent":1,"WatchEvent":9,"IssueCommentEvent":1,"PushEvent":90,"CreateEvent":6}},"keywords":[],"dependencies":[],"score":7.467942332285852,"created_at":"2025-10-20T00:04:56.111Z","updated_at":"2026-04-20T16:30:25.621Z","avatar_url":"https://github.com/cristobal-GC.png","language":"Python","category":"Energy Systems","sub_category":"Global and Regional Energy System Models","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"\u003c!--\nSPDX-FileCopyrightText: Contributors to PyPSA-Eur \u003chttps://github.com/pypsa/pypsa-eur\u003e\nSPDX-License-Identifier: CC-BY-4.0\n--\u003e\n\n[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/pypsa/pypsa-eur?include_prereleases)](https://github.com/PyPSA/pypsa-eur/releases)\n[![Documentation](https://readthedocs.org/projects/pypsa-eur/badge/?version=latest)](https://pypsa-eur.readthedocs.io/en/latest/?badge=latest)\n[![Test workflows](https://github.com/pypsa/pypsa-eur/actions/workflows/test.yaml/badge.svg)](https://github.com/pypsa/pypsa-eur/actions/workflows/test.yaml)\n![Size](https://img.shields.io/github/repo-size/pypsa/pypsa-eur)\n[![Zenodo PyPSA-Eur](https://zenodo.org/badge/DOI/10.5281/zenodo.3520874.svg)](https://doi.org/10.5281/zenodo.3520874)\n[![Zenodo PyPSA-Eur-Sec](https://zenodo.org/badge/DOI/10.5281/zenodo.3938042.svg)](https://doi.org/10.5281/zenodo.3938042)\n[![Snakemake](https://img.shields.io/badge/snakemake-≥9-brightgreen.svg?style=flat)](https://snakemake.readthedocs.io)\n[![Discord](https://img.shields.io/discord/911692131440148490?logo=discord)](https://discord.gg/AnuJBk23FU)\n[![REUSE status](https://api.reuse.software/badge/github.com/pypsa/pypsa-eur)](https://api.reuse.software/info/github.com/pypsa/pypsa-eur)\n\n\n\n# PyPSA-Spain: An extension of PyPSA-Eur to model the Spanish Energy System\n\nThe primary motivation behind the development of PyPSA-Spain was to leverage the\nbenefits of a national energy model over a regional one, like the availability of specific\ndatasets from national organisations. Additionally, a single-country model enables higher\nspatial and temporal resolution with the same computational resources due to the smaller\ngeographical domain. Finally, it does not require assumptions about coordinated action\nbetween countries, making it a more suitable tool for analysing national energy policies.\nTo accommodate cross-border interactions, a nested model approach with PyPSA-Eur was\nused, wherein electricity prices from neighbouring countries are precomputed through the\noptimisation of the European energy system.\n\nPyPSA-Spain is an up-to-date fork of PyPSA-Eur, ensuring that advancements\nand bug fixes made to PyPSA-Eur are integrated. In addition, PyPSA-Spain includes a number of novel functionalities that enhance the representation\nof the Spanish energy system, as compared with PyPSA-Eur. \n\nFind more details in [https://pypsa-spain.readthedocs.io/en/latest/](https://pypsa-spain.readthedocs.io/en/latest/)\n\nA description of the new functionalities implemented in PyPSA-Spain is now available in this article: [https://doi.org/10.1016/j.esr.2025.101764](https://doi.org/10.1016/j.esr.2025.101764).\n\n\n\n\n![PyPSA-Spain Grid Model](docs/img/base.jpg)\n\n\n\n## Basic commands for running PyPSA-Spain\n\nAs a fork of PyPSA-Eur, PyPSA-Spain uses the same command structure.  \nNote that PyPSA-Spain employs the **sector network** approach\n\n\n\n- **Full workflow run**:\n\n```bash\n$ snakemake all --configfile config/config_ES.yaml --cores 4\n```\n\n\n- **Partial runs**:\n\n```bash\n##### Cluster the network\n$ snakemake cluster_networks --configfile config/config_ES.yaml --cores 4\n```\n\n```bash\n##### Prepare the network\n$ snakemake prepare_sector_networks --configfile config/config_ES.yaml --cores 4\n```\n\n```bash\n##### Solve the network\n$ snakemake solve_sector_networks --configfile config/config_ES.yaml --cores 4\n```\n\n- **Run to get a specific output**, for example, `base.nc` network:\n\n```bash\n$ snakemake resources/networks/base.nc --configfile config/config_ES.yaml --cores 4\n```\n\n\n\n\n**Comments:**\n1. Adjust the number of `--cores` according to your system.\n2. Add the `-n` flag (dry-run) to check the workflow before execution \n\n\n\n\n\n\n## Licence\n\nPyPSA-Spain is a fork of [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur), which is released as free software under the\n[MIT License](https://opensource.org/licenses/MIT), see [`doc/licenses.rst`](doc/licenses.rst).\nHowever, different licenses and terms of use may apply to the various input data.\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.5281/zenodo.3520874","https://doi.org/10.5281/zenodo.3938042","https://doi.org/10.1016/j.esr.2025.101764"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["energy-system-model","energy-system","power-systems","energy-model","pypsa","capacity-expansion-planning","energy-data","europe","power-grid","capacity-expansion-model"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/327093","html_url":"https://ost.ecosyste.ms/projects/327093"}