From 383aef7e1c541e1240ebb0d85636224e6240e226 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Tue, 3 Jan 2023 08:38:10 +0100 Subject: [PATCH] rename shipping_average_efficiency to shipping_oil_efficiency --- scripts/prepare_sector_network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 491c44dc..e46b2471 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -2157,7 +2157,8 @@ def add_industry(n, costs): if shipping_hydrogen_share: - efficiency = options['shipping_average_efficiency'] / costs.at["fuel cell", "efficiency"] + oil_efficiency = options.get('shipping_oil_efficiency', options.get('shipping_average_efficiency', 0.4)) + efficiency = oil_efficiency / costs.at["fuel cell", "efficiency"] shipping_hydrogen_share = get(options['shipping_hydrogen_share'], investment_year) if options["shipping_hydrogen_liquefaction"]: