Commit Graph

1623 Commits

Author SHA1 Message Date
daniel.rdt
407037a799 fix in add_heating_capacities_installed_before_baseyear to account for case when there is no rural heating demand for some nodes in network 2023-07-28 15:09:13 +02:00
Fabian Neumann
8e6a70b468 prepare release 0.8.1 2023-07-27 11:23:02 +02:00
Fabian Hofmann
1d5c8c7242
Merge branch 'master' into fneum/line-rating 2023-07-26 14:56:35 +02:00
Fabian
d60be3fece Merge branch 'master' into validation 2023-07-26 13:01:34 +02:00
Fabian Neumann
d17430d000
Merge branch 'master' into multilinks-default 2023-07-26 08:48:21 +02:00
pre-commit-ci[bot]
f970ba0fd0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-26 06:48:10 +00:00
Fabian Neumann
5231135d5f make_summary: explicitly typecast default values 2023-07-26 08:47:49 +02:00
pre-commit-ci[bot]
74be5261fc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-26 05:24:33 +00:00
Fabian Neumann
7575dd0351 handling of natural gas in add_existing_baseyear and add_electricity 2023-07-26 07:24:12 +02:00
Fabian
491345d504 config: move cutout specification to line-rating section
test/config: use be-cutout for testing line-rating
2023-07-25 15:08:44 +02:00
Fabian Neumann
93c14dcda1 Merge branch 'master' into ppl-fueltype-fix 2023-07-25 13:10:59 +02:00
Fabian Hofmann
269a08006f
Merge branch 'master' into validation 2023-07-25 12:30:32 +02:00
Fabian
01aaeb730d cluster_network: introduce efficiency classes for clustering 2023-07-25 12:29:39 +02:00
Fabian Hofmann
3eac0c1127
Merge branch 'master' into multilinks-default 2023-07-24 13:42:50 +02:00
Fabian Hofmann
f0057614b3
Merge branch 'master' into fneum/line-rating 2023-07-24 10:49:15 +02:00
Fabian
474321c638 add_electricity: enable flattening hydro dispatch
config.validation: reduce crossborder caps
2023-07-24 10:47:16 +02:00
Fabian Neumann
1541877fdc Merge branch 'ppl-fueltype-fix' of github.com:PyPSA/pypsa-eur into ppl-fueltype-fix 2023-07-23 15:00:22 +02:00
Fabian Neumann
6110fe784d wrap comparisons in brackets 2023-07-23 14:59:28 +02:00
pre-commit-ci[bot]
3f3e73a0ec [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-23 09:08:29 +00:00
Fabian Neumann
d45cb71b7a match build_powerplants FuelType (closes #754) 2023-07-23 11:07:45 +02:00
pre-commit-ci[bot]
615684d124 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-22 11:26:42 +00:00
virio-andreyana
d36bdaf6bb clean plot_validation_cross_border_flows script 2023-07-22 13:26:11 +02:00
virio-andreyana
56cbcfa672 complete plot_validation_cross_border_flows script 2023-07-22 13:24:35 +02:00
lisazeyen
5c90083e9b merge master 2023-07-21 16:32:11 +02:00
Fabian
c7ef8e8c64 solve network: update mock snakemake 2023-07-20 14:36:22 +02:00
Fabian
793573f655 validate: add line plot for price comparison 2023-07-20 14:36:22 +02:00
Fabian Neumann
268391e204
Merge branch 'master' into master 2023-07-18 14:07:27 +02:00
Fabian Neumann
56e93fe821
Merge branch 'master' into fneum/line-rating 2023-07-18 14:06:11 +02:00
Fabian Neumann
a0366fb2bc
Merge branch 'master' into multilinks-default 2023-07-18 14:05:57 +02:00
Fabian Hofmann
40b87cac04
Merge branch 'master' into validation 2023-07-17 19:24:13 +02:00
Fabian
23b156d2c1 build_monthly_prices: use 2020 as base year for scaling 2023-07-17 17:35:23 +02:00
Fabian Hofmann
dc4286d3e3
Merge branch 'master' into describe-config 2023-07-17 17:33:55 +02:00
Fabian
fcce233a2e Merge branch 'master' into validation 2023-07-17 16:22:39 +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 Hofmann
9f4c227def
Merge branch 'master' into describe-config 2023-07-14 13:34:20 +02:00
pre-commit-ci[bot]
fc36efaebe [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-13 20:35:05 +00:00
Fabian Neumann
b110810669 no more override_component_attrs for multilinks 2023-07-13 22:31:55 +02:00
Fabian
f020cfa969 validation: plot elec production fix typo 2023-07-13 18:36:14 +02:00
Fabian Hofmann
f90ef3bb73
Merge branch 'master' into validation 2023-07-12 12:32:35 +02:00
Fabian
723350c8ef solve_network: enable rolling horizon 2023-07-11 17:48:35 +02:00
Fabian
4bb0716414 prepare_network: fix addition of dynamic co2 prices 2023-07-11 16:15:27 +02:00
Fabian Neumann
6af92fcf67
Merge branch 'master' into fneum/line-rating 2023-07-11 14:37:17 +02:00
Fabian
86a4b775fd remove hardcoded config overwrite
plot_validation: adjust carrier labels
2023-07-11 14:25:32 +02:00
Fabian
9fbc626862 adjustments to new due to clustering module 2023-07-11 14:24:57 +02:00
pre-commit-ci[bot]
6492b1a195 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-10 23:02:57 +00:00
lisazeyen
26156943cf
remove TODO comment
the clipping of the p_min_pu value cannot be removed since it is used for the retrofitting generators which have to follow the heat demand profile. Otherwise the network becomes infeasibe.
2023-07-10 16:15:27 +02:00
Fabian
c7f67f0641 make fuel prices flexible over years
fix marginal cost issue (on pypsa)
minor fixes
2023-07-06 19:14:01 +02:00
Fabian Hofmann
3ea8b26ae0
fix carrier assignment 2023-07-06 15:01:00 +02:00
Fabian
3e64599c4c plot_electricity_prices: fix header spec 2023-07-05 19:06:32 +02:00
Fabian
406ce3d77e validation: add structure for price and crossborder comparison 2023-07-05 15:51:36 +02:00
Fabian
9c6e5e0ed0 config: remove unneeded plotting entries 2023-07-05 11:34:07 +02:00
pre-commit-ci[bot]
07add5a10d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-05 09:22:20 +00:00
Fabian Hofmann
9c3f89160a
Merge branch 'master' into validation 2023-07-05 11:21:09 +02:00
Fabian
9958425a44 complete structure for plotting electricity production 2023-07-05 11:07:36 +02:00
Fabian Neumann
19a99f6e03 build_line_rating: fix doc typos 2023-07-03 19:31:34 +02:00
pre-commit-ci[bot]
39c963dd38 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-03 17:27:25 +00:00
Fabian Neumann
f0b44a91ec
Merge branch 'master' into fneum/line-rating 2023-07-03 19:27:05 +02:00
Fabian Neumann
d751f4694d
Update scripts/prepare_network.py 2023-07-03 18:58:15 +02:00
Fabian
879d2925f9 rename "ept" to "Ept"
restructure remote rsync with remote
2023-07-03 17:16:20 +02:00
Fabian
f903eba061 draf validate rule & plot statistics rule 2023-07-03 17:13:16 +02:00
Fabian
1f6764d32a add_electicity: minor fix regarding missing carriers 2023-07-03 15:45:19 +02:00
Fabian
6137a634d4 build_electricity_demand: make data source snapshot dependent 2023-07-03 12:51:26 +02:00
Fabian Neumann
86708838da
Merge branch 'master' into linemaxext-config 2023-06-30 14:51:29 +02:00
pre-commit-ci[bot]
e4651ce711 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-30 11:28:56 +00:00
euronion
16dcad0176 Prevent attempt to re-add existing carriers. 2023-06-30 13:25:20 +02:00
Fabian Hofmann
6004e04354
Merge branch 'master' into validation 2023-06-30 12:07:04 +02:00
Fabian
c5fe195fed add_electricity: fix set operation 2023-06-30 11:37:53 +02:00
Fabian
701231fdca build_renewable_profile: fix execution for one thread 2023-06-30 11:34:41 +02:00
Fabian
4c9b8a08e5 use differential config changes in config.validation.yaml 2023-06-29 19:45:42 +02:00
Fabian
3879df7a09 build_monthly_prices: adress warnings 2023-06-29 19:45:42 +02:00
Fabian Hofmann
934879d94e
Merge branch 'master' into validation 2023-06-29 19:45:17 +02:00
Fabian
9e143345bd follow up on #686 2023-06-29 19:24:38 +02:00
Fabian Hofmann
ebe6c1f1e1
Merge branch 'master' into validation 2023-06-29 17:49:02 +02:00
Fabian Hofmann
e2270ea580
Merge branch 'master' into complete-carrier-set 2023-06-29 16:50:22 +02:00
Fabian
aac339ef0b Merge branch 'cll-constraint-groupby' into update-clustering-namespace 2023-06-29 16:39:53 +02:00
Fabian
00ec36a12e add_electricity: filter out nan geocoords in kdtree 2023-06-29 16:38:56 +02:00
Fabian
0dd1933057 solve_network: fix argument for linopy groupby 2023-06-29 16:21:45 +02:00
pre-commit-ci[bot]
d84c7ebf6a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-29 14:02:56 +00:00
Fabian Hofmann
3f946dd83d
Update scripts/add_electricity.py 2023-06-29 16:02:31 +02:00
pre-commit-ci[bot]
a9b0d349f2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-29 14:02:21 +00:00
Fabian Hofmann
cf06204e4f
Update scripts/add_electricity.py 2023-06-29 16:02:09 +02:00
Fabian Hofmann
8c7c586b0c
Update scripts/add_extra_components.py 2023-06-29 16:02:03 +02:00
Fabian
2f3005e555 use pypsa.clustering.spatial namespace 2023-06-29 15:37:29 +02:00
pre-commit-ci[bot]
a8f69821dc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-29 12:51:43 +00:00
Fabian
519a4f2a2a move uc assigment to add_electricity
make code backwards-compatible
2023-06-29 14:50:41 +02:00
Fabian Neumann
c5c30bcc32 Merge branch 'master' into fneum/line-rating 2023-06-29 11:42:07 +02:00
pre-commit-ci[bot]
cc6bae282f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-29 06:11:13 +00:00
Fabian Hofmann
07224751e5
Merge branch 'master' into validation 2023-06-29 08:10:52 +02:00
LukasFrankenQ
a36b5c51c7 fixed bug in monthly gas prices 2023-06-28 17:42:17 +01:00
Fabian Hofmann
ab0963540f
Merge branch 'master' into complete-carrier-set 2023-06-21 09:53:19 +02:00
Fabian Neumann
86e5f08fbf
Merge branch 'master' into linemaxext-config 2023-06-20 13:33:18 +02:00
Fabian
a17647a07e add_electricity: fix cost ref 2023-06-15 19:35:41 +02:00
Fabian
27eea273bd harmonize params names 2023-06-15 19:12:30 +02:00
Fabian
1d10073514 review params implementation; reproduce objective values in CI 2023-06-15 18:52:25 +02:00
Fabian
45cac01ea3 adjust param accessing in cluster, simplify and build_elec script 2023-06-14 14:39:53 +02:00
Fabian Hofmann
862e54770f
Merge branch 'master' into post-merge-param 2023-06-14 10:11:26 +02:00
Ricardo
b7aa122fda Fixed issue (most likely) introduced when merging PyPSA-Eur with PyPSA-Eur-Sec 2023-06-12 20:40:51 +02:00
Davide Fioriti
176bebdef0
Update cluster_network to avoid adding deleted links in clustered network 2023-06-09 17:18:25 +02:00
pre-commit-ci[bot]
d6057cb92b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-03 10:10:08 +00:00
virio-andreyana
8dbcca560c
minor fixes in solve_network.py 2023-06-03 12:09:51 +02:00
pre-commit-ci[bot]
286b836c3f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-02 15:18:48 +00:00
Fabian Neumann
ff6f3a1b7e resolve remaining merge conflicts 2023-06-02 17:12:05 +02:00
Fabian Neumann
59f24122e2 cherry-pick line rating code 2023-06-02 17:08:40 +02:00
Fabian Neumann
ef5320e1b8 merge master 2023-06-02 16:59:06 +02:00
pre-commit-ci[bot]
0f5bb8b893 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-02 10:53:11 +00:00
virio-andreyana
83ff639ad5 amend solve_network 2023-06-02 12:52:49 +02:00
pre-commit-ci[bot]
f3e8fe2312 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-27 13:51:00 +00:00
virio-andreyana
e581ca930c made params more specific 2023-05-27 15:50:37 +02:00
pre-commit-ci[bot]
ead87afce1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-27 10:23:30 +00:00
virio-andreyana
1c73bb0342 add params for solve_network 2023-05-27 12:22:53 +02:00
Koen van Greevenbroek
312dd81f21 Fix bug with underground H2 storage creation
For some small model regions, none of the H2 cavern types specified in
the configuration might actually be available, in which case the line
`h2_caverns = h2_caverns[cavern_types].sum(axis=1)` throws an error.
2023-05-24 11:13:37 +02:00
lisazeyen
ab8ee639f9
update average annual prices 2023-05-24 10:53:40 +02:00
lisazeyen
6e358097c9
change natural gas index to import price 2023-05-24 10:51:16 +02:00
pre-commit-ci[bot]
0f09545d96 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-22 21:56:31 +00:00
virio-andreyana
28d39680c6
Merge branch 'master' into post-merge-param 2023-05-19 16:19:58 +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
pre-commit-ci[bot]
6366dc4c55 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-17 17:26:02 +00:00
virio-andreyana
8af1fe5649
replace the word "config" to "params" in functions 2023-05-17 19:25:45 +02:00
virio-andreyana
8208ac033b
convert param back to config for "logging" and "run", made "enable" more specific 2023-05-17 18:43:30 +02:00
lisazeyen
747bf5d815 add time dependent co2 price 2023-05-17 12:55:17 +02:00
lisazeyen
e9348b8e23 uncomment ship raster, since otherwise not computing 2023-05-17 12:48:45 +02:00
lisazeyen
024da02f8a add monthly prices to network 2023-05-16 16:16:36 +02:00
lisazeyen
dfdd116206 add rule to build monthly prices 2023-05-16 16:16:36 +02:00
pre-commit-ci[bot]
7d4dacf8bd [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-16 11:35:00 +00:00
Fabian Neumann
875fcdd0e2 address geopandas future warning 2023-05-16 13:34:23 +02:00
pre-commit-ci[bot]
e431a9675c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-15 13:02:41 +00:00
Fabian Hofmann
824e6bb18c
Merge branch 'master' into complete-carrier-set 2023-05-15 15:01:57 +02:00
virio-andreyana
1fc48d8753
using python algorithm to edit rules and script 2023-05-15 10:33:17 +02:00
Fabian Neumann
14a34697aa
Merge pull request #666 from PyPSA/fit-for-module
retrieve*: handle extraction path via snakemake.output
2023-05-15 08:41:13 +02:00
pre-commit-ci[bot]
38bae672da [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-12 12:51:41 +00:00
Fabian Neumann
8f91963e76 properly reference p_max_pu files 2023-05-12 14:50:58 +02:00
Fabian Neumann
b2216355f1 retrieve_sector_data: add another .parent 2023-05-12 14:10:04 +02:00
Fabian Neumann
67ef38b35e retrieve*: handle extraction path via snakemake.output 2023-05-12 13:59:41 +02:00
Fabian Neumann
e88b57f422 prepare_network: fix typo 2023-05-12 10:42:06 +02:00
pre-commit-ci[bot]
3343394c65 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-12 07:30:12 +00:00
Fabian Neumann
99963edaaf add option to limit maximum extension per line/link; linemaxext 2023-05-12 09:29:38 +02:00
Fabian Neumann
5be21dfc5a add option for piecewise linear transmission loss approximation 2023-05-12 09:07:16 +02:00
Fabian Neumann
e29571535b remove references to memory logfile in *.smk, add release note 2023-05-12 07:11:41 +02:00
virio-andreyana
1758076815
test param in add_electricity 2023-05-11 20:34:11 +02:00
pre-commit-ci[bot]
7d6d6d2805 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-11 14:59:12 +00:00
virio-andreyana
654f46f868
alpha testing complete vresutils removal 2023-05-11 16:58:35 +02:00
pre-commit-ci[bot]
b21965a986 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-10 08:09:47 +00:00
virio-andreyana
e91068196b
replace vresutils annuity function with add_electricity.py calculate_annuity 2023-05-10 10:02:41 +02:00
virio-andreyana
5c2e3c9fc1
add Shape2Shapes in add_electricit.py 2023-05-10 09:58:25 +02:00
Fabian Hofmann
de16f19bce
Merge branch 'master' into complete-carrier-set 2023-05-03 17:42:29 +02:00
Fabian
13b4327e01 add_extra_components: revert carrier addition 2023-05-03 14:00:10 +02:00
Fabian
4e8bbd67b4 use sanitize_carriers to harmonize carrier adjustments 2023-05-03 13:24:57 +02:00