Commit Graph

742 Commits

Author SHA1 Message Date
Koen van Greevenbroek
5ee280b96f Update default CPLEX options following PyPSA update
For more recent versions of CPLEX and PyPSA, using dotted options
works while the current default crashes a CPLEX solve with
"AttributeError: 'RootParameterGroup' object has no attribute
'barrier_convergetol'". See https://github.com/PyPSA/PyPSA/pull/168.
2021-10-05 11:00:30 +02:00
Fabian Neumann
a54f66a686
Merge pull request #278 from PyPSA/wake-simpl
add correction factor to offshore wind for wake losses
2021-09-27 14:04:03 +02:00
Fabian Neumann
04c8d1fd02 add correction factor to offshore wind for wake losses 2021-09-23 08:57:18 +02:00
Fabian Neumann
54e35a3c86 update environment.fixed.yaml 2021-09-22 16:49:30 +02:00
Fabian Neumann
089fc5b747 final tweaks of release notes 2021-09-22 16:46:23 +02:00
Fabian Neumann
2f2ac89c87 update main affiliation 2021-09-20 11:43:04 +02:00
Fabian Neumann
77023d370b
Merge pull request #276 from PyPSA/mit-license
Change PyPSA-Eur licence from copyleft GPLv3 to more liberal MIT
2021-09-20 11:36:09 +02:00
Fabian Neumann
785caecdb5 no proj 8 2021-09-20 11:18:47 +02:00
Fabian Neumann
da883b1283 limit pyproj to 3.1.0 2021-09-20 11:12:26 +02:00
Fabian Neumann
ede9146735 limit pyproj 2021-09-20 11:02:57 +02:00
Fabian Neumann
8996e09dc2
Merge branch 'master' into mit-license 2021-09-20 09:28:32 +02:00
Fabian Neumann
4e91d157b6
Merge pull request #277 from koen-vg/static-retrieve
Mark datasets from Zenodo as static
2021-09-15 13:28:30 +02:00
Koen van Greevenbroek
6485b98973 Mark datasets from Zenodo as static
When retrieving a remote file over HTTP, Snakemake uses the
"last-modified" property in HTTP header as a proxy for `mtime` of the
remote file. If this time is more recent than the `mtime` of the
output of the retrieve rule, the rule is triggered and the remote file
is retrieved again (since it was apparently updated).

However, Zenodo periodically updates the "last-modified" property of
records retrieved over HTTP even if those records have not been
updated. This causes Snakemake to false assume that the records have
to downloaded again.

By setting `static=True` for datasets we know don't actually change,
we avoid this problem.
2021-09-15 11:44:49 +02:00
Martha Frysztacki
251f0adb7e
Merge branch 'master' into snakemake_dependencies_in_functions 2021-09-14 16:50:48 +02:00
Fabian Neumann
3eea2a8e84 add missing, remove unused license 2021-09-14 16:40:10 +02:00
Fabian Neumann
780b60cc46 add release note 2021-09-14 16:38:48 +02:00
Fabian Neumann
2e02af8b4b change license 2021-09-14 16:37:41 +02:00
martacki
d551a3b5f1 delete config.yaml 2021-09-14 16:36:13 +02:00
martacki
dfb929f2cf remove snakemake dependencies in functions, use as kwarg instead 2021-09-14 16:34:02 +02:00
Fabian Neumann
b88322587f
Release 0.4 (#274)
* update release notes [skip ci]

* update fixed versions environment.yaml

* format release notes
2021-09-14 16:15:25 +02:00
Fabian Neumann
1d68a300e5
update environment.yaml for pypsa 0.18.0 (#268)
* update environment.yaml

* test pandas<1.3

Co-authored-by: Fabian Hofmann <hofmann@fias.uni-frankfurt.de>
2021-09-14 14:14:31 +02:00
Fabian Neumann
2252ee2118
Merge pull request #273 from PyPSA/citation
add citation.cff
2021-09-08 11:45:11 +02:00
Fabian Neumann
547080420e add citation.cff 2021-09-08 11:12:41 +02:00
Martha Frysztacki
8bec0cc423
simplify: drop incorrect cols if they exist (avoid error) (#272) 2021-09-07 16:28:01 +02:00
Fabian Hofmann
4117e19897
Merge pull request #271 from PyPSA/doc-fixes
doc: fix build warnings
2021-08-27 13:12:47 +02:00
Fabian
ea50abab6d doc: fix build warnings 2021-08-27 12:30:29 +02:00
Fabian Hofmann
f7d76659c5
Merge pull request #243 from martacki/simplify_to_substations
Simplify to substations
2021-08-27 11:16:44 +02:00
Fabian Hofmann
b9bbefa09f
simplify_network.py fix dict getting 2021-08-27 10:34:27 +02:00
Martha Frysztacki
a6d2a0a99d
style
Co-authored-by: Fabian Hofmann <hofmann@fias.uni-frankfurt.de>
2021-08-26 16:00:08 +02:00
Martha Frysztacki
f30ca8a18a
Merge branch 'master' into simplify_to_substations 2021-08-26 15:22:02 +02:00
Martha Frysztacki
1c173567b5
solve_operations_network: include optimized stores to operation (#269)
* remove stores-buses from load generators

* include optimized stores to operation network

* add release notes

* Update doc/release_notes.rst

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>

* Update doc/release_notes.rst

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>

* Update release_notes.rst

* Update scripts/solve_network.py

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2021-08-18 10:38:51 +02:00
Fabian Neumann
3467376c70
Merge pull request #270 from PyPSA/fix_plotting_and_summary
update plot_network and make_summary to latest pypsa/-eur versions
2021-08-18 09:34:42 +02:00
martacki
400317d062 update plot_network and make_summary scripts to latest pypsa/-eur versions 2021-08-16 17:53:56 +02:00
Fabian Neumann
0fa3888b0e restore REUSE compliance [skip ci] 2021-08-13 10:15:06 +02:00
Fabian Neumann
b82c55543b
Readthedocs documentation with pip (#267)
* Use pip with requirements.txt file for setting up doc environment

* Try w/o cartopy

* Try w/o cartopy take 2

* Try w/o cartopy take 3

* try pip

* try pip ii

* python 3.8

* fix links

* remove conda docs and fix line references

* remove conda on .readthedocs.yml

* correct ambiguous line reference

Co-authored-by: Jonas Hoersch <coroa@posteo.de>
2021-08-13 10:11:35 +02:00
Fabian Neumann
7a8ef1a2d4
Add tabula-py to dependencies (for PyPSA-Eur-Sec) 2021-08-09 14:37:51 +02:00
Fabian Neumann
4cc5e49ca8
Adapt to new snapshot weightings (#259)
* for now use n.snapshot_weightings.generators

* require pypsa master; use .objective for Nyears

* implement suggestions from code review

* add release note
2021-08-06 13:43:12 +00:00
huckebrink
2aa59a3905
exporting additional costs, and compatibility adjustments (#261)
* added export for connection_cost adjustment

* removed lambda function from multiprocessing
changed true/false_values to lists

* removed double import of functools

* moved added costs to df column

* Update scripts/simplify_network.py

Co-authored-by: Leonie Plaga <leonie.plaga@ruhr-uni-bochum.de>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2021-08-04 16:19:23 +00:00
Fabian Neumann
ac3ce07d67
Merge branch 'master' into simplify_to_substations 2021-08-03 15:53:49 +02:00
Fabian Neumann
e2c3118f08 don't allow pandas 1.3.0 yet 2021-07-12 08:50:37 +02:00
Fabian Neumann
989d8c6abf
specify when to run CI (#262) 2021-07-09 10:22:40 +02:00
Martha Frysztacki [frɨʂtat͡skʲ]
334e20a306
Merge pull request #260 from PyPSA/extendable-pnommin
fix p_nom_min values for extendable carriers with positive p_nom
2021-07-02 11:34:16 +02:00
martacki
9a0df1342a retrigger checks 2021-07-02 10:57:06 +02:00
martacki
15ebe63b38 release_notes: style 2021-07-02 10:43:32 +02:00
martacki
6983be337a release_notes: add PR reference 2021-07-02 10:26:46 +02:00
martacki
34578bf16b update release_notes 2021-07-02 10:24:30 +02:00
martacki
89631b240a correct placement of if/else 2021-07-02 10:04:22 +02:00
Fabian Neumann
d78f8b3e65
Merge branch 'master' into extendable-pnommin 2021-07-01 19:39:01 +02:00
Martha Frysztacki [frɨʂtat͡skʲ]
a82b3e853c
Merge pull request #219 from PyPSA/substation_lv_bug
simplify: delete bus columns with incorrect entries
2021-07-01 10:04:58 +02:00
Martha Frysztacki [frɨʂtat͡skʲ]
cf2eff4127
style
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
2021-06-30 21:29:08 +02:00