Commit Graph

425 Commits

Author SHA1 Message Date
Fabian
70cfe4bbe5 cluster_network: replace np.sum/np.min by pandas.Series.sum/min 2022-04-20 15:47:50 +02:00
Fabian
a9b4ca8370 build_powerplants: use index numbering only for biomass gens 2022-04-11 21:28:54 +02:00
Fabian
dad065f22f hard pull build_powerplants from eu-security branch 2022-04-11 21:24:49 +02:00
Fabian
61ccaa495a add_electricity: enable scaling existing capacities, enable scaling to config entries 2022-04-11 21:11:24 +02:00
Fabian Neumann
e6fec5b3c8 scripts: fix bug and add estimate renewable from IRENA 2022-04-08 09:53:11 +02:00
Philipp Glaum
17337070f1 solve_network script and config: add base load constraint 2022-03-31 16:29:52 +02:00
Philipp Glaum
0aace90b9d Merge branch 'master' into line-rating 2022-03-25 14:44:20 +01:00
Philipp Glaum
e46ddb3985 solve_network: add constraint for min renewable capacities 2022-03-18 14:48:34 +01:00
Philipp Glaum
b4c31f8889 add renewable share constraint 2022-03-18 12:44:57 +01:00
martacki
3fa8f91e73 make_summary followup on snakemake dependencies removal 2022-03-04 16:29:47 +01:00
martacki
b63271f12f release_notes, old format of base_network with updated docstrings 2022-03-03 17:16:23 +01:00
Martha Frysztacki
49cd51f463
Merge branch 'master' into update-entsoe-gridextract 2022-03-03 16:38:06 +01:00
Fabian
b7436da57e Merge branch 'master' of github.com:PyPSA/pypsa-eur into line-rating 2022-03-03 01:13:28 +01:00
Fabian
752ff28538 cluster_network.py: allow cluster wildcard to be 'all' 2022-03-02 14:43:04 +01:00
FabianHofmann
7d7b3d4cf9 Merge branch 'master' of github.com:PyPSA/pypsa-eur into line-rating 2022-03-02 14:14:56 +01:00
Fabian Neumann
8dafb7bc83
fix custom clustering by checking explicitly for series (#318) 2022-02-27 08:07:11 +01:00
Philipp Glaum
caaca688c4 add_electricity: add optional clipping and small changes 2022-02-23 12:06:51 +01:00
Philipp Glaum
7e692f01e3 adjust s_max_pu clipping 2022-02-21 09:18:20 +01:00
Philipp Glaum
86942b0afc add_electricity: fix minor bug and clip s_max_pu_cap values 2022-02-17 14:50:11 +01:00
Martha Frysztacki
6b6191734c
Merge branch 'master' into update-entsoe-gridextract 2022-02-16 21:41:28 +01:00
Fabian
1d975bb814 build_line_rating: apply black style 2022-02-16 14:32:33 +01:00
Fabian
75b695eed4 line-rating: clip s_max_pu to account for max voltage angle difference 2022-02-16 14:29:44 +01:00
Koen van Greevenbroek
f7ee47238a Fix random state for kmean clustering
When the kmeans algorithm is used to cluster networks, this is not
deterministic by default. The result is that repeated runs of the
`simplify_network` and `cluster_network` rules can and usually do
produce different results that vary somewhat randomly. This makes
results less reproducible when given only a pypsa-eur configuration
file.

The fix is to supply a fixed random state to the k-means algorithm.
2022-02-10 15:57:16 +01:00
Philipp Glaum
246d5f5964 fix operations network infeasibilities 2022-02-04 15:58:29 +01:00
Fabian Neumann
835bfc0f6a bugfix: access right config variables in build renewable profiles 2022-02-01 08:51:47 +01:00
Martha Frysztacki
ff29fda618
Merge branch 'master' into update-entsoe-gridextract 2022-01-31 17:08:56 +01:00
martacki
296fb021cf join skagerrak link 2022-01-31 16:09:42 +01:00
Fabian Neumann
09f1135b51 address pandas 1.4 deprectations 2022-01-29 16:17:46 +01:00
Fabian Neumann
c8c1c3c46e revert ea96d499e7 2022-01-29 15:02:49 +01:00
Martha Frysztacki
9ae8baf71d
Merge branch 'master' into update-entsoe-gridextract 2022-01-28 15:12:36 +01:00
Fabian
4341827952 Merge branch 'line-rating' of github.com:PyPSA/pypsa-eur into line-rating 2022-01-25 16:02:35 +01:00
Fabian
5ee056bb5c add_electricity: add_line_rating: move snakemake arg out of function 2022-01-25 15:57:52 +01:00
Philipp Glaum
8421fb13f1 update config location and wildcards for debugging 2022-01-25 15:22:58 +01:00
Philipp Glaum
815f9824e9 Merge remote-tracking branch 'origin/master' into line-rating 2022-01-25 08:49:11 +01:00
martacki
6cdf3a2879 use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
Martha Frysztacki
c45691d305
Merge branch 'master' into snakemake_dependencies_in_functions 2022-01-24 19:15:06 +01:00
martacki
c4be81eb5e simplify_network: remove snakemake dependencies 2022-01-24 19:13:48 +01:00
martacki
61a4108e60 update parameter_corrections for updated entsoe gridextract 2022-01-21 17:37:18 +01:00
Philipp Glaum
2a231464f6 bug fix in temperature calculation 2022-01-19 09:33:11 +01:00
Philipp Glaum
bc70819aef update formate and resistance calculation 2022-01-17 08:52:25 +01:00
Qui-Rin
9f0515105b
build_load_data: Removed underscore in pattern
When using the transparency option the pattern used as a filter is created with a double underscore -> removed underscore in '_transparency'
2022-01-14 19:02:44 +01:00
martacki
dc83fd8e09 fix small bugs 2022-01-14 15:13:44 +01:00
martacki
0da77a7600 remove snakemake dependencies in plot_summary 2022-01-14 13:44:33 +01:00
martacki
f28a088ea3 arguments in function calls instead of kwarg-style 2022-01-14 11:30:15 +01:00
martacki
8cb5bd27d5 make_summary: remove snakemake dependencies 2022-01-14 11:29:01 +01:00
Martha Frysztacki
7067d924cc
Merge branch 'master' into snakemake_dependencies_in_functions 2022-01-14 11:05:54 +01:00
martacki
deac9f32e7 move snakemake keys (input, output, config, ...) to own variables 2022-01-14 11:05:15 +01:00
Fabian Neumann
72e277a007
update environment and address deprecations (#291)
* update environment and address deprecations

* check pandas<1.3

* limit snakemake due to ascii encoding error, address review comments

* remove version restriction on snakemake
2022-01-14 07:43:21 +00:00
martacki
9b7bb27da1 snakemake dependencies in base_network 2022-01-13 18:54:27 +01:00
martacki
505f093141 fix ordering of kwargs in add_co2limit 2022-01-13 18:00:22 +01:00