Fabian Neumann
2fc1ea0255
some refactoring and code cleaning ( #190 )
...
* some refactoring and code cleaning
* execute pre-commit
* pre-commit: limit large files
* add license to .pre-commit
* add pre-commit to env
* solve: tidy memory logger
* travis: add conda list for easier debugging
* undo config test/tutorial without plotting, rm matplotlibrc, .licenses
* remove {networks} wildcard
* unadd pre-commit config
* add release notes
* restore REUSE compliance
* fix docs environment python version
* env: remove gurobi from dependencies
* fix unclean merge block
* fix elif to if
* lighter rtd style
* lighter rtd style II
2020-12-03 19:50:53 +01:00
Fabian Neumann
84edde8f63
add time series segmentation with tsam package ( #186 )
...
* add time segmentation with tsam
* cut off SEG
* Snakefile: adjust memory function
* untangle memory reservation calculation
* prepare: document segmentation option
* correct typo
2020-12-03 16:02:21 +01:00
Martha Maria
cfb979a0d0
Custom busmap for clustering ( #193 )
...
* add option to use custom clustermaps from data folder
* adapt default config to custom busmap
* input file from Snakefile
* adapt input description
* add option to use custom clustermaps from data folder
* adapt default config to custom busmap
* input file from Snakefile
* adapt input description
* Snakefile: custom_busmap in cluster_network input is now csv
* cluster_network: custom_busmap is now read as csv file, adaptions of description
* simplify_network: adapt descriptions
* configfiles: add cutom_clustermaps switch
* unify clustarmap and busmap names
* unify clustermap and busmap names
* test/config: unify clustermap and busmap names
* cluster_network: make clustering_for_n_clusters compatible with simplify_network
* simplify_network: make compatible with changes in cluster_network.py
* Update scripts/cluster_network.py
* Update scripts/simplify_network.py
* Update scripts/simplify_network.py
* Update scripts/cluster_network.py
* Update scripts/cluster_network.py
* cluster_network: move custom_busmap flag to enable; simplify names
* cluster_network: move custom_busmap flag to enable; simplify names
* custom_busmap: add documentation
* cluster_network: add default for custom_busmap for compatibility with old configs
* cluster_network: add default for custom_busmap for compatibility with old configs
Co-authored-by: martha.frysztacki <eb5194@iai-esm003.iai.kit.edu>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2020-12-03 15:17:16 +01:00
FabianHofmann
9792069ab3
Update load processing ( #211 )
...
* build_load_data
* Add documentation
* updating load data import
* Update Config files
* Update load.csv
* Update add_electricity.py
* change log file name
* Update scripts/add_electricity.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update build_load_data.py
* Update build_load_data.py
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* update gap handling in build_load_data
* Update build_load_data.py
* Update config.test1.yaml
* update test.config
* Update config.tutorial.yaml
* update load csv function for load data
* Update build_load_data.py
* Update config.test1.yaml
* Update add_electricity.py
* Update build_load_data.py
* Added error messages if load data contains gaps after modifications
* general adjustments:
- reduce data source to only entsoe statistics
- sanitize code
- adjust logging messages
- adjust daocstrings
* update Snakefile config and docs
* update release notes
rename build_load -> build_load_data in config
* small follow up
* - reintroduce choice between powerstatistics and transparency
- remove load_ timeseries from databundle
- always build load_data
- reinsert scaling factor in config
- fix url to 2019 version
* update doc: configtable, release notes
update config.yaml
* follow up
Co-authored-by: Jan Frederick <jan.frederick.unnewehr@inatech.uni-freiburg.de>
Co-authored-by: JanFrederickUnnewehr <50404069+JanFrederickUnnewehr@users.noreply.github.com>
2020-12-03 12:49:04 +01:00
Fabian Neumann
f18b7b02cb
StorageUnit correct efficiency_dispatch/store (counter-proposal 2) ( #202 )
...
* fix efficiencies of storage units counter proposal
* extra_components: fix roundtrip efficiency
* add_electricity: remove misleading roundtrip efficiency for storageunit
* add release notes
2020-12-03 10:02:23 +01:00
Fabian Neumann
c1447875d5
no defaults channel in environment.yaml ( #144 )
...
* no defaults channel in environment.yaml
* GIS from conda-forge
* remove channel pinning and add descartes via conda
* remove geopandas version restriction
* travis: remove duplicated conda list
2020-12-02 17:48:47 +01:00
Fabian Neumann
03170f4aaf
add option for p_nom_max factors in {opts} wildcard ( #207 )
...
* prepare: add option for potential reduction sweeps
* prepare: fix attr lookup for potential/cost reduction sweeps
* prepare: fix attr naming cost -> capital_cost
* add release notes
2020-11-26 17:25:14 +01:00
Fabian Neumann
bfbf595ad8
Parameter corrections for East-Western and Anglo-Scottish interconnection ( #206 )
...
* data: parameter corrections for East-Western and Anglo-Scottish interconnector
* add release notes
2020-11-26 17:20:48 +01:00
Fabian Neumann
de0478968c
config: make storage modelling with Store and Link default ( #205 )
2020-11-25 13:18:30 +01:00
Fabian Neumann
5240b090d9
Merge branch 'master' of github.com:PyPSA/pypsa-eur
2020-11-17 12:47:00 +01:00
Fabian Neumann
3b858384d3
data: ALEGrO in operation
2020-11-17 12:46:49 +01:00
Fabian Neumann
2e70e8d15b
prepare: fix transmission limit when no HVDC links in network ( #209 )
2020-11-12 17:37:43 +01:00
Fabian Neumann
9c526687fd
environment: remove snakemake-minimal version constraint
2020-11-12 16:27:52 +01:00
Fabian Neumann
984e688615
skip cost aggregation of component if empty
2020-10-28 15:30:36 +01:00
Fabian Neumann
eed314ef05
add_electricity: fix snakemake typo
2020-10-27 13:40:34 +01:00
Fabian Neumann
5442d541b4
build_renewables: fix snakemake typo
2020-10-27 11:42:18 +01:00
Fabian Neumann
4d2f379ae1
build_hydro: handle empty year wildcard
2020-10-27 11:30:25 +01:00
Fabian Neumann
dacfc8a9a4
multiyear: fallbacks for hydro and load profiles
2020-10-20 13:53:43 +02:00
Fabian Neumann
ca0ad08438
reflect filename changes in documentation
2020-10-18 14:47:46 +02:00
Fabian Neumann
cb2b78ad97
first step towards sweeping through multiple weather years
2020-10-18 14:25:12 +02:00
Fabian Neumann
bcd7f86b5c
remove {networks} wildcard
2020-10-09 17:03:49 +02:00
Fabian Neumann
f3b1d3d513
undo config test/tutorial without plotting, rm matplotlibrc, .licenses
2020-10-03 11:38:51 +02:00
Fabian Neumann
6deac6ced3
merge master
2020-10-03 11:15:39 +02:00
Martha Maria
52683236cd
prepare_network: fix nmo security margin ( #199 )
...
* prepare_network: fix nmo security margin
* Update doc/release_notes.rst
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
* Update scripts/prepare_network.py
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2020-10-02 15:55:22 +02:00
Martha Maria
2e76b88ec8
simplify_ and cluster_network: clustermaps to csv ( #198 )
...
* simplify and clustering: output and input from HDF format to CSV
* add release notes
* simplify and clustering: output files from Snakefile
2020-10-02 12:53:56 +02:00
Fabian Neumann
4d0a860246
Merge branch 'master' of github.com:PyPSA/pypsa-eur
2020-09-26 13:16:19 +02:00
Fabian Neumann
88f1184315
travis: only build master and PRs onto master
2020-09-26 13:16:00 +02:00
Fabian Neumann
ab6dc633bf
Options for regional equity and autarky ( #166 )
...
* solve: add option for equity constraints
* solve: scale more
* prepare: add option to limit line/link capacity
* solve: add inflow to EQ constraints
* solve: reindex inflow to match load
* update config files and references
* add autarky option
* move release notes
* add spillage to equity requirements
* prepare: fix accidental code removal
* prepare: add country autarky option
* consider snapshot_weightings for inflow
* trigger CI
2020-09-26 13:10:50 +02:00
Fabian Neumann
b756773b9d
merge master
2020-09-26 11:21:16 +02:00
Fabian Neumann
0988551896
environment: limit libgdal to 3.0.4 max ( #197 )
...
* environment: limit libgdal to 3.0.4 max
* environment: test numpy version
* environment: lift numpy version restriction
* environment: reintroduce numpy version restriction
2020-09-25 19:57:09 +02:00
Fabian Neumann
9966038837
environment: limit libgdal to 3.0.2 (2nd try)
2020-09-25 15:47:44 +02:00
Fabian Neumann
b81dfcaada
environment: limit libgdal to 3.0.2
2020-09-25 15:34:35 +02:00
Fabian Neumann
db3a0e8e5c
travis: all via mamba
2020-09-25 15:18:59 +02:00
Fabian Neumann
06b8fe1e98
environment: add mamba
2020-09-25 15:06:39 +02:00
Fabian Neumann
fc7f04d1d8
travis: switch solver installation back to conda
2020-09-25 14:53:17 +02:00
Fabian Neumann
336392fcf8
travis: debug which solver causes problem
2020-09-25 14:44:31 +02:00
Fabian Neumann
c7dd302262
travis: fix path to environment file
2020-09-25 14:16:04 +02:00
Fabian Neumann
baff295721
travis: remove unnecessary env create via conda
2020-09-25 14:13:55 +02:00
Fabian Neumann
456daa6260
travis: use mamba for faster builds ( #196 )
...
* travis: use mamba for faster builds
* doc: add release notes [skip travis]
2020-09-25 14:08:46 +02:00
Fabian Neumann
fcb895a098
environment: limit snakemake to 5.24.2 ( #195 )
...
until https://github.com/snakemake/snakemake/issues/635 resolved
2020-09-25 14:01:00 +02:00
Fabian Neumann
1e4f6f9568
travis: add conda list for easier debugging
2020-09-25 12:45:43 +02:00
Fabian Neumann
c543fb39c6
cluster: fix removing deprec squeeze=True in groupby ( #194 )
2020-09-25 12:34:34 +02:00
martha.frysztacki
9331f1ec46
cluster_network: The 'squeeze' parameter is deprecated and will be removed in a future release; works just fine without it
2020-09-24 17:46:20 +02:00
Martha Maria
047276b2dc
Fix clustering sites ( #191 )
...
* fix clustering of offwind-ac and offwind-dc in sites option
* add release nodes
Co-authored-by: martha.frysztacki <eb5194@iai-esm003.iai.kit.edu>
2020-09-24 10:13:13 +02:00
Fabian Neumann
ec803a372e
add cost uncertainty opts for suptechs ( #189 )
2020-09-24 10:09:11 +02:00
Fabian Neumann
78ca48c602
solve: tidy memory logger
2020-09-11 15:44:25 +02:00
Fabian Neumann
098448668b
add pre-commit to env
2020-09-11 15:43:14 +02:00
Fabian Neumann
570154fa78
add license to .pre-commit
2020-09-11 15:41:23 +02:00
Fabian Neumann
dd46210952
pre-commit: limit large files
2020-09-11 15:34:03 +02:00
Fabian Neumann
cbd22c2efd
execute pre-commit
2020-09-11 15:26:43 +02:00