From d75e38e2399a7e7722245d9a67d4b64f71d90b79 Mon Sep 17 00:00:00 2001 From: Mathias157 Date: Fri, 11 Oct 2024 17:20:37 +0200 Subject: [PATCH] Adding transport of biomass --- src/assumptions.yaml | 3 ++- src/preprocessing | 14 +++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/assumptions.yaml b/src/assumptions.yaml index 6e6bf28..8b36abe 100644 --- a/src/assumptions.yaml +++ b/src/assumptions.yaml @@ -38,4 +38,5 @@ resources: woodpot: 40 # PJ, potential of woody biomass for energy, Bramstoft et al. 2020 strawpot: 54 # PJ, potential of agro waste for energy, Bramstoft et al. 2020 biogaspot: 10.56 # PJ, potential of biogas for energy assuming 60% conversion efficiency (DEA tech catalogue of biogas plant) and manure potential (Bramstoft et al. 2020) - woodimport: False # Allow import of woody biomass to major cities? \ No newline at end of file + woodimport: False # Allow import of woody biomass to major cities? + biotransportcost: 0.0153 # Cost of biomass transport in €/GJ/km, Rosendal et al 2024 \ No newline at end of file diff --git a/src/preprocessing b/src/preprocessing index 6cf5f69..65e5382 100644 --- a/src/preprocessing +++ b/src/preprocessing @@ -21,7 +21,8 @@ rule all: f"{out_path}WND_VAR_T.inc", f'{out_path}OFFSHORE_WND_VAR_T.inc', f"{out_path}GKFX.inc", - f"{out_path}GMAXF.inc" + f"{out_path}GMAXF.inc", + f"{out_path}FUELTRANSPORT_COST.inc" ] rule create_conversion_dictionaries: @@ -234,6 +235,17 @@ rule grids: python {modules_path}grids.py --nordsoeen-connection={params.nordsoeen_connection}" """ +rule biomass_transport: + input: + f"{data_path}BalmorelData/municipal_connectivity.nc" + output: + f"{out_path}FUELTRANSPORT_COST.inc" + params: + transport_cost=config['resources']['biotransportcost'] + shell: + """ + python {modules_path}biomass_transport.py transport {params.transport_cost} + """ # 7. Other rule onshore_vre: