From 68fc3997292266cebe6e2cdc94304628243956e3 Mon Sep 17 00:00:00 2001 From: energyls Date: Fri, 4 Aug 2023 10:39:23 +0200 Subject: [PATCH] fix: re-include hydrogen buses --- scripts/add_export.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/add_export.py b/scripts/add_export.py index 5283a4fb..bb104429 100644 --- a/scripts/add_export.py +++ b/scripts/add_export.py @@ -57,7 +57,7 @@ def select_ports(n): return hydrogen_buses_ports -def add_export(n, export_profile): +def add_export(n, hydrogen_buses_ports, export_profile): country_shape = gpd.read_file(snakemake.input["shapes_path"]) # Find most northwestern point in country shape and get x and y coordinates country_shape = country_shape.to_crs("EPSG:4326") @@ -203,10 +203,10 @@ def create_export_profile(): ) # get hydrogen export buses/ports - # hydrogen_buses_ports = select_ports(n) + hydrogen_buses_ports = select_ports(n) # add export value and components to network - add_export(n, export_profile) + add_export(n, hydrogen_buses_ports, export_profile) n.export_to_netcdf(snakemake.output[0])