Bobby Xiong
1cf85b0be8
Fix for Corsica in simplify_network: Include local substation ( #1215 )
...
* Fixed simplify_network.py to handle more complex topologies, i.e. if two links are connected to nearby AC buses separated by an AC line.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added fix for Corsica node: If region containing Corsica is modelled, include substation on Corsica as supernode (end point).
* [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-08-14 14:22:03 +02:00
Bobby Xiong
3ef6d519d7
Fix simplify_network.py to handle more complex topologies ( #1211 )
...
* Fixed simplify_network.py to handle more complex topologies, i.e. if two links are connected to nearby AC buses separated by an AC line.
* [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-08-14 10:24:38 +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
Fabian Neumann
95805a8d72
Merge pull request #1031 from PyPSA/remove_connection_costs
...
Remove connection costs output
2024-04-18 09:34:32 +02:00
martacki
feb564506a
remove connection_costs as snakemake output from simplify_network
2024-04-16 15:41:01 +02:00
Fabian
f1b33992f7
move append_bus_shapes to build_bus_regions, apply it where possible
2024-04-11 13:27:52 +02:00
Fabian
590d363579
clustering: add docstring to cluster_regions function, fix network reference
2024-04-11 12:13:07 +02:00
Fabian
47134a88d8
regions to n.shapes: smooth out remaining issues
2024-04-10 18:35:50 +02:00
Thomas Gilon
7e99f3bba7
Fix error with symbol of buses in simplify_network
2024-03-22 10:06:48 +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
d2a66879de
Merge branch 'master' into scenario-management
2024-02-17 17:04:36 +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
pre-commit-ci[bot]
d2f2d4ab0b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-29 18:31:05 +00:00
Fabian
f876d78ed4
fix linting: run ruff
2024-01-19 12:17:45 +01:00
Fabian
cc08dff280
simplify_network: revert fillna
2023-12-18 12:44:21 +01:00
martacki
ea42b3797d
simplify_network&pandas21: nans not supported
2023-12-18 11:43:04 +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
Fabian Neumann
c304738ea5
fix to restore compatibility with PyPSA v0.26.0
2023-12-12 18:18:03 +01:00
Sourcery AI
3c36c60bdd
'Refactored by Sourcery'
2023-10-08 09:20:36 +00:00
Fabian
e28ae59375
introduce scenario-management
2023-08-15 15:06:59 +02:00
Fabian Hofmann
4a8af57a59
simplify network: remove 'underground' column to avoid consense error
2023-08-03 18:19:20 +02:00
Fabian
d22c87419b
update enviromnent yaml to install pypsa from master
...
cluster: allow custom strategies for all components
2023-07-17 14:03:16 +02:00
Fabian
8e568cee03
cluster network: remove bus strategies as already handled internally
2023-07-14 16:00:21 +02:00
Fabian
f566142d38
cluster network: update to new clustering module (pypsa v0.25)
2023-07-14 15:47:41 +02:00
Fabian
2f3005e555
use pypsa.clustering.spatial namespace
2023-06-29 15:37:29 +02:00
Fabian
45cac01ea3
adjust param accessing in cluster, simplify and build_elec script
2023-06-14 14:39:53 +02:00
virio-andreyana
e581ca930c
made params more specific
2023-05-27 15:50:37 +02:00
pre-commit-ci[bot]
216a02fba1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-05-19 13:42:45 +00:00
virio-andreyana
c043100ada
add more params in simplify_network.py
2023-05-19 15:42:07 +02:00
virio-andreyana
1fc48d8753
using python algorithm to edit rules and script
2023-05-15 10:33:17 +02:00
Fabian
1f6f7a2039
replace config.yaml by config/config.yaml in doc and docstrings
2023-04-21 10:41:44 +02:00
pre-commit-ci[bot]
460bbd080f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-04-10 22:02:35 +00:00
Fabian Neumann
91ea0a3f55
docs: rearrange sections
2023-03-09 13:28:42 +01:00
Fabian Neumann
9c1182fe96
prepare release 0.7
2023-02-16 11:50:55 +01:00
pre-commit-ci[bot]
e6ecbc95d7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-06 22:28:32 +00:00
pre-commit-ci[bot]
8bdba5653a
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-01-23 21:27:20 +00:00
Fabian Neumann
5360eb0a2e
Merge branch 'master' of https://github.com/pypsa/pypsa-eur
2022-12-28 09:35:15 +01:00
Fabian Neumann
bb5c5bd143
simplify_networks: add control for removing stubs II
2022-12-28 09:34:28 +01:00
Fabian Neumann
e9f3d20432
simplify_networks: add control for removing stubs
2022-12-28 09:33:08 +01:00
Fabian Neumann
bb1b37e8ef
address pandas iteritems deprecation
2022-12-27 13:16:05 +01:00
pre-commit-ci[bot]
85d01bceb0
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-09-19 14:34:48 +00:00
Philipp Glaum
c8b67776fa
Merge branch 'master' into exclude_carrier_clustering
2022-09-19 16:34:21 +02:00
Philipp Glaum
d51ca8695b
update Fabians comments
2022-09-19 11:46:58 +02:00
pre-commit-ci[bot]
5d1ef8a640
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-09-16 13:04:06 +00:00
Fabian
1536cc2787
codespell: fix typos
...
Snakefile: fix unformattable parst
pre-commit: fix codespell ignore
2022-09-16 14:36:43 +02:00
Philipp Glaum
24e008a98e
add feature: aggregate carrier exclusion
2022-09-16 14:25:15 +02:00
Fabian
2eb26f7334
address #314
2022-09-05 12:55:46 +02:00
Fabian Neumann
a1507124f6
Merge branch 'release-v0.5' into meta
2022-07-27 09:43:36 +02:00