Supplementary Data: Code, Input Data and Result Summaries: Synergies of sector coupling and transmission extension in a cost-optimised, highly renewable European energy system

可再生能源 扩展(谓词逻辑) 编码(集合论) 计算机科学 数据传输 联轴节(管道) 传输(电信) 数据库 工程类 电信 程序设计语言 计算机硬件 电气工程 机械工程 集合(抽象数据类型)
作者
Tom Brown,David Schlachtberger
出处
期刊:La Trobe University - OPAL (Open@LaTrobe) 被引量:5
标识
DOI:10.5281/zenodo.1146666
摘要

Supplementary Data Synergies of sector coupling and transmission extension in a cost-optimised, highly renewable European energy system Authors: T. Brown, D. Schlachtberger, A. Kies, S. Schramm, M. Greiner arXiv:1801.05290 The files in this record contain the scripts to build the model, input data and result summaries for the model PyPSA-Eur-Sec-30 described in the above publication. The full results files (which include the post-processed input data) can be found in a companion Zenodo repository. (The supplementary data was split because of the size of the full results.) WARNING: A newer, improved version of this model, PyPSA-Eur-Sec, is under construction on GitHub. Scripts To use the scripts, you need the following free software Python libraries: PyPSA for the modelling framework vresutils for various helper functions to build the model instance atlite to process weather data into power system data snakemake to organise the execution of the software and other standard libraries from the Python Package Index (PyPI), such as pandas, pyomo, countrycode, etc. snakemake requires that all code runs with Python version 3. The code setup is known to work with the following versions: PyPSA 0.12.0, pandas 0.21.1, numpy 0.14.0, scipy 0.19.1, pyomo 5.2. You may need to downgrade your libraries to these versions for the scripts to work. If you insist on using the latest versions, please be aware that you'll need to make at least the following changes: i) To accommodate changes in pandas versions 0.22 and higher, in scripts/prepare_network.py change "costs = costs.loc[idx[:,cost_year,:],"value"].unstack(level=2).groupby("technology").sum()" to "costs = costs.loc[idx[:,cost_year,:],"value"].unstack(level=2).groupby(level="technology").sum(min_count=1)". ii) In later versions of PyPSA the component groups like "pypsa.components.one_port_components" have become network-specific and are stored instead at "network.one_port_components". To solve the optimisation problem the scripts are coded to use the commercial solver Gurobi. To solve the problems in a reasonable time, you will need Gurobi or an equivalently fast solver such as CPLEX. Gurobi and CPLEX both have cost-free licences for academic users. You will also need a computer with at least 64 GB of RAM, since pyomo and the solver are memory intensive. The Python scripts in this repository (in the directory scripts/) are released under the GNU General Public Licence Version 3.0 (GPL 3.0). The scripts build_*.py process all raw input data into a form where it can be used in the model. make_options.py prepares the options.yml file for each model run. prepare_network.py populates the PyPSA network for each model run with the input data. solve_network.py solves the optimisation problem with Gurobi or the solver of your choice (this step takes several hours). make_summary.py aggregates the results into CSV files in the directory results/ (also provided in this repository). The scripts plot_*.py and paper_graphics*.py prepare graphical output. All scripts are managed with the snakemake workflow management tool. To run the scripts, adjust the parameters in config.yaml and cluster.yaml to your local configuration. Then simply execute
snakemake
for the rule you want to run. Since the jobs are computationally intensive you may want to run them on a cluster. To run the jobs on a cluster with Slurm, then execute e.g.
./snakemake_cluster --jobs 6
The cluster is configured in cluster.yaml. You will need to create the directory for the logs, i.e. logs/cluster/, before running the script. Data All input data (in the directory scripts/) and results summaries (in the directory results/) are released under the Creative Commons Attribution 4.0 International Licence (CC BY 4.0), except those where explicit sources and licences are mentioned in the data folders. The input data include: Electricity sector data, which largely follows the Zenodo repository for The Benefits of Cooperation in a Highly Renewable European Electricity Network, except the current repository uses the Open Power System Data Time Series Data Package for load data and Renewables.ninja for solar time series. Heating time series based on the degree-day approximation, constructed with the library atlite. Hourly traffic statistics for a week from the German Federal Highway Research Institute (BASt). Yearly energy per country per sector from the Odyssee database and Eurostat. A cost database with literature sources.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
机灵安白发布了新的文献求助10
刚刚
黄油小花饼干完成签到,获得积分10
刚刚
TL发布了新的文献求助10
1秒前
1秒前
1秒前
1秒前
1秒前
1秒前
搜集达人应助复杂的听兰采纳,获得10
1秒前
哇哈哈哈完成签到,获得积分10
2秒前
xiaoxioayixi完成签到 ,获得积分10
2秒前
2秒前
2秒前
3秒前
Ali应助欣喜芙采纳,获得20
3秒前
科研通AI2S应助美丽的问兰采纳,获得10
3秒前
Huang完成签到 ,获得积分10
3秒前
纪乐姗发布了新的文献求助10
3秒前
4秒前
pirateharbor完成签到,获得积分10
4秒前
666完成签到,获得积分10
4秒前
邹静完成签到,获得积分10
4秒前
乐乐应助阔达丹亦采纳,获得10
4秒前
4秒前
外向烨磊完成签到,获得积分10
4秒前
knowledge发布了新的文献求助10
5秒前
樟木头发布了新的文献求助10
5秒前
思源应助Aweiiiii采纳,获得10
5秒前
执着幻桃完成签到,获得积分10
6秒前
yjj发布了新的文献求助10
6秒前
YY发布了新的文献求助10
6秒前
6秒前
hy999cr关注了科研通微信公众号
6秒前
6秒前
dcbhp完成签到 ,获得积分10
6秒前
6秒前
羽墨完成签到,获得积分10
7秒前
7秒前
科研通AI6.4应助zjy采纳,获得10
7秒前
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Multiple Self-States Drawing Technique 600
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Rosenblum, Global Change Biology 500
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7769290
求助须知:如何正确求助?哪些是违规求助? 9312426
关于积分的说明 20328809
捐赠科研通 7354604
什么是DOI,文献DOI怎么找? 3315979
关于科研通互助平台的介绍 2464901
邀请新用户注册赠送积分活动 2330601