Skip to content

Commit

Permalink
fix: re-include hydrogen buses
Browse files Browse the repository at this point in the history
  • Loading branch information
energyLS committed Aug 4, 2023
1 parent ae75622 commit 68fc399
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/add_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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])

Expand Down

0 comments on commit 68fc399

Please sign in to comment.