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
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
Fabian Neumann
da10374158
apply ruff linting
2024-05-21 15:28:24 +02:00
Philipp Glaum
ac48fdaaf4
base_network.py: connect new tyndp links only to closest AC bus
2024-05-17 14:46:20 +02:00
Fabian Neumann
788e07a0d1
bugfix to avoid duplicated offshore regions ( closes #396 )
2024-05-13 17:56:28 +02:00
Koen van Greevenbroek
303b526bf1
Fix formatting of link in base_network
documentation
2024-05-06 09:09:23 +02:00
Koen van Greevenbroek
ca6f803e28
Update documentation to reflect removal of build_bus_regions
rule
2024-05-06 08:52:42 +02:00
Koen van Greevenbroek
76c201ef7d
Integrate build_bus_regions
into base_network
...
Fixes a problem with the `build_bus_regions` writing to base.nc
without declaring base.nc as an output.
2024-05-03 14:53:18 +02:00
cpschau
6ea8d52a81
no directory change before mock_snakemake
2024-04-16 10:43:07 +02:00
cpschau
3cf2d0c059
no addition of straight lines
2024-04-16 10:24:16 +02:00
cpschau
1867e510e2
remove redundant line
2024-04-11 17:14:17 +02:00
cpschau
c68e3420c0
clean-up after rebase
2024-04-11 16:42:19 +02:00
cpschau
f2db3c6327
add AC & DC lines
2024-04-11 16:32:35 +02:00
cpschau
4d4b8ea266
n.madd instead of pd.concat
2024-04-11 16:32:25 +02:00
Fabian
47134a88d8
regions to n.shapes: smooth out remaining issues
2024-04-10 18:35:50 +02:00
pre-commit-ci[bot]
7d0b775ca9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-10 15:48:48 +00:00
cpschau
0ae016a7d0
write shapes to base network
2024-04-10 17:47:03 +02:00
Fabian Neumann
0d6ba9fbd1
move leap year handling into helper function
2024-03-14 15:15:56 +01:00
Koen van Greevenbroek
de0c0cd1f4
Merge remote-tracking branch 'upstream/master' into multiyear
2024-03-01 11:45:31 +01:00
Koen van Greevenbroek
90fb0b13da
Various bugfixes to make multiyear branch run
2024-02-29 12:48:16 +01:00
Fabian Neumann
719d4dad23
Merge branch 'master' into scenario-management
2024-02-20 12:08:54 +01:00
Fabian Neumann
16e2286188
update copyright years to 2024
2024-02-19 16:21:48 +01:00
Fabian Neumann
945180f153
allow_missing in collection rules, fixes for myopic, wildcard constraints without function
2024-02-17 23:37:03 +01:00
Fabian Neumann
d2a66879de
Merge branch 'master' into scenario-management
2024-02-17 17:04:36 +01:00
Martha Frysztacki
234f2f247c
Merge branch 'master' into bus-regions
2024-02-14 17:05:43 +01:00
Fabian Neumann
6de08bd523
Merge branch 'master' into scenario-management
2024-02-10 17:22:01 +01:00
Fabian Neumann
4b6199de42
create a bus for every unique coordinate, not only substations ( closes #699 )
2024-02-09 15:43:27 +01:00
Fabian Neumann
3691f9f4c1
update version compatibility handling
2024-02-09 13:59:15 +01:00
Fabian
46d8ce8f1f
address deprecation warnings
2024-01-31 17:10:08 +01:00
Fabian Neumann
498f3bffad
Update scripts/base_network.py
...
Co-authored-by: Fabian Hofmann <fab.hof@gmx.de>
2024-01-18 18:22:21 +01:00
Philipp Glaum
8565c124c0
fix bus filter for buses without countries
2024-01-12 16:50:17 +01:00
Fabian Neumann
c3bb41c900
Merge branch 'master' into multiyear
2024-01-03 15:14:27 +01:00
Fabian Neumann
83ecaac4de
Merge branch 'master' into wildcard-opts-config
2024-01-03 13:08:21 +01:00
pre-commit-ci[bot]
ea3fdb6c15
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-12-18 08:58:15 +00:00
martacki
7e543ad0cc
base_network: fix pandas 2.1 issue
2023-12-18 09:57:05 +01:00
pre-commit-ci[bot]
326aeb682b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-09 14:28:08 +00:00
Fabian Neumann
ce609b6ebe
Merge branch 'master' into ukraine_hackathon
2023-10-09 16:25:49 +02:00
Fabian Neumann
a15157c788
add optional function to restore transmission connections to Crimea
2023-10-09 16:16:53 +02:00
Fabian Neumann
b94a797fed
do not remove large unconnected subnetworks
2023-10-09 10:00:10 +02:00
Fabian Neumann
b8fee80919
Merge branch 'master' into multiyear
2023-10-08 11:55:11 +02:00
Sourcery AI
3c36c60bdd
'Refactored by Sourcery'
2023-10-08 09:20:36 +00:00
virio-andreyana
01cd1bbb74
add Fabians suggestion
2023-09-23 18:39:11 +02:00
pre-commit-ci[bot]
b2c19eda40
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-15 10:18:03 +00:00
virio-andreyana
a14e751ed8
fix snapshot bugs
2023-09-15 12:16:53 +02:00
Fabian
91eff472a7
scenario-management: fix set_scenario_config function; apply config_provider to some direct inputs
2023-08-17 12:31:07 +02:00
Fabian
e28ae59375
introduce scenario-management
2023-08-15 15:06:59 +02:00
Fabian Neumann
ddd1840981
Merge remote-tracking branch 'origin/master' into multiyear
2023-07-26 10:23:32 +02:00
Fabian
406ce3d77e
validation: add structure for price and crossborder comparison
2023-07-05 15:51:36 +02:00
Fabian Neumann
30beee0959
Merge branch 'master' into multiyear
2023-04-29 12:40:55 +02:00
pre-commit-ci[bot]
74e9d56adb
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-04-25 15:26:28 +00:00