Commit Graph

2627 Commits

Author SHA1 Message Date
Fabian Neumann
0470f119cf
base_network: use GeoSeries.voronoi_polygons instead of custom solution (#1172)
* base_network: use GeoSeries.voronoi_polygons instead of custom solution

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* base_network: move voronoi calculations into separate function

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* base_network: fix typo in function voronoi()

* base_network: refine voronoi function

* add release note [no ci]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-24 15:31:46 +02:00
Fabian Neumann
eab315291e
remove {scope} wildcard (#1171)
* remove {scope} wildcard

* do not create removed files
2024-07-24 13:19:57 +02:00
Fabian Neumann
8b1b1144d5
cutouts: update zenodo repository version (#1176) 2024-07-24 11:01:00 +02:00
Fabian Neumann
d142d5a50b
aggregate curtailment into single curtailment generator per bus (#1177)
* add curtailment generator mode

* add documentation
2024-07-24 10:54:15 +02:00
lisazeyen
877ca3eb44
change sign sequestration store marginal cost (#1174) 2024-07-22 16:44:26 +02:00
Fabian Neumann
b49895a041
determine_availability_matrix_MD_UA: enable parallelism & remove plots (#1170)
* determine_availability_matrix_MD_UA: enable parallelism through temp files and remove plots

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-19 17:43:11 +00:00
Iegor Riepin
ba55971c23
Compatibility of data processing for Ukraine (#1146)
* data: retrieve gdp and pop raw data for UA,MD

* Updated retrieval code.

* add_electricity script for UA and MD using updated, endogenised GDP and PPP data.

* Outsourced building of gdp and ppp. Only called when UA and/or MD are in country list.

* Accepted suggestion by @fneum in retrieve rule.

* Cleaned determine_availability_matrix_MD_UA.py, removed redundant code

* Updated build_gdp_pop_non_nuts3 script to use the mean to distribute GDP p.c. Added release notes. Bug fixes.

* Bug fixes --> 'ppp' to 'pop'

* Bug fix: only distribute load to buses with substation.

* Updated to download GDP and population raster via PyPSA-Eur zenodo databundle. Removal of dedicated retrieve function. Updated release notes.

* Updated release notes.

* correct input file paths

* update zenodo url for databundle release v0.3.0

* doc: update release_notes

* minor adjustments: benchmark, increase mem_mb, remove plots, handling of optional inputs

---------

Co-authored-by: bobbyxng <bobbyxng@gmail.com>
Co-authored-by: Bobby Xiong <36541459+bobbyxng@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-07-19 19:23:35 +02:00
Amos Schledorn
8fe5921e44
Fix negative district heating progress (#1168)
* impose minimum district heating progress of 0

* update release_notes

* update configtables
2024-07-19 12:30:26 +02:00
Micha
4c05928766
add marginal cost to preven model degeneracy (#1155) 2024-07-15 16:41:32 +02:00
Micha
d3b24face6
revert to old config keys (#1152)
* revert to old config keys

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-12 16:22:53 +02:00
Fabian Neumann
2bf59e6aaf
drop-in mirror for broken eurostat energy balance link (#1147) 2024-07-12 09:34:49 +02:00
pre-commit-ci[bot]
1de4db5f9c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-09 12:08:57 +00:00
cpschau
fe5487e277 adjust parameters in config update from wildcards 2024-07-09 14:05:43 +02:00
cpschau
f19279e7e0 Add other waste heat technologies, and adjust share 2024-07-09 14:02:45 +02:00
cpschau
e932466b05 FT and electrolyis waste heat for DH as float 2024-07-09 12:05:50 +02:00
Fabian Neumann
b6d11bba6f
build_shapes: default to no tolerance in polygon simplification (#1137) 2024-07-09 11:07:15 +02:00
Fabian Neumann
c3151902f6
Compatibility with geopandas version 1 (#1136)
* address geopandas and pandas deprecations/warnings

* compatibility with geopandas v1

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-08 08:29:16 +02:00
bobbyxng
6962ba0cfb Fixed mock_snakemake for snakemake v.8.14: All snakemake settings moved to snakemake.settings.types. 2024-06-20 15:46:14 +02:00
Fabian Neumann
14b8de8348 compatibility with snakemake 8.14 closes #1108 2024-06-20 14:38:04 +02:00
Fabian Neumann
6348c904bd
Merge pull request #1103 from PyPSA/methanol-store-capital-cost
non-zero capital_cost for methanol stores
2024-06-17 18:57:35 +02:00
Fabian Neumann
0ead0dc6a4
Merge pull request #1105 from PyPSA/document-heat-rules
Document heating rules
2024-06-17 18:56:52 +02:00
Philipp Glaum
ad38016f6d prepare_sector_network: add floating wind to update cost function 2024-06-17 15:22:33 +02:00
AmosSchledorn
c787437350 correct typos in heating rule docs 2024-06-17 11:47:55 +02:00
pre-commit-ci[bot]
4a1933f49a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-06-17 09:44:05 +00:00
AmosSchledorn
d2018e1088 Document heating rules 2024-06-17 11:38:23 +02:00
Michael Lindner
b174a53480 non-zero capital_cost for methanol stores 2024-06-14 11:29:59 +02:00
Micha
37bbbc6225 Fix grouping logic again 2024-06-13 15:03:08 +02:00
Bobby Xiong
0db78a93e6 Fixed bug which generated empty pdfs when calling plot_summary from CI or snakemake. Using .svg exports instead. 2024-06-11 15:10:12 +02:00
Micha
b052a5e54a
Merge branch 'master' into fix-p_nom-existing-renewables 2024-06-10 10:59:49 +02:00
pre-commit-ci[bot]
5168b3fe0b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-06-07 16:02:02 +00:00
Michael Lindner
c24b7f657b set generator baseyear p_nom to p_nom_min 2024-06-07 17:59:43 +02:00
pre-commit-ci[bot]
47889d728f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-06-07 12:34:51 +00:00
Michael Lindner
136442b87c revert hotfix for #1016 2024-06-07 14:20:58 +02:00
Toni Seibold
180d93951d
documentation for industry rules (#1086)
* documentation for industry rules

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-05 15:02:44 +02:00
Toni Seibold
d62e959c85
Fix offshore wind capacity by adding it as offwind-AC (#1089)
* Fix existing offshore wind capacity by adding it as offwind-ac
---------

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-06-04 17:02:56 +02:00
Fabian Neumann
4ceb397de0
skip MD for synthetic load data 2024-06-04 13:56:54 +02:00
LukasFrankenQ
b0d7a45ea7 changed EGS paper link to doi-containing version 2024-06-01 18:21:49 +01:00
LukasFrankenQ
4752840009 improved docs on EGS cost scaling 2024-06-01 00:32:44 +01:00
LukasFrankenQ
2f1d6d20b1 final corrections, improved docs 2024-06-01 00:20:31 +01:00
LukasFrankenQ
2801b00100 Merge https://github.com/pypsa/pypsa-eur 2024-05-26 22:38:03 +01:00
Fabian Neumann
7ad930ee2e bug: add_electricity only add carriers in powerplant dataset for country subset 2024-05-25 21:13:47 +02:00
Fabian Neumann
a60e6fca55 bugfix: ensure separately calculated sums are entered (follow-up to #990) 2024-05-25 18:02:56 +02:00
Fabian Neumann
fd9e93b4b0 transport demand: clarify units in code comments 2024-05-25 17:16:47 +02:00
Fabian Neumann
422c37827c time_aggregation: handle case without any temporal aggregation 2024-05-25 15:48:48 +02:00
Fabian Neumann
5397f3fe85 avoid duplicate existing RES capacities (closes #1016) 2024-05-24 09:47:23 +02:00
Fabian Neumann
703b206e1f tidy up update_residential_from_eurostat 2024-05-21 20:16:57 +02:00
Fabian Neumann
4e85ddc5c9 Merge branch 'update_households_energy' of github.com:yerbol-akhmetov/pypsa-eur into yerbol-akhmetov-update_households_energy 2024-05-21 19:02:18 +02:00
Fabian Neumann
c600d327b0 Merge branch 'master' of github.com:PyPSA/pypsa-eur into eurostat-march2024 2024-05-21 18:49:41 +02:00
Fabian Neumann
fd7dcb2e8a
Merge pull request #1075 from koen-vg/time-agg-fix
Minor bugfixes for new time aggregation implementation
2024-05-21 18:29:18 +02:00
Koen van Greevenbroek
b6fa0043bf Fix disabling transmission limit for volume limit type 2024-05-21 18:14:31 +02:00