From b6ec730a5525efd0369ff104fe136927e8f9cb51 Mon Sep 17 00:00:00 2001 From: Mathijs Bijkerk Date: Fri, 18 Oct 2024 15:25:05 +0200 Subject: [PATCH] Add missing SUM function to hydrogen queries --- ...atural_gas_for_autothermal_reformer_conversion.gql | 11 ++++++----- ...ural_gas_for_steam_methane_reformer_conversion.gql | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_autothermal_reformer_conversion.gql b/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_autothermal_reformer_conversion.gql index 03ba2dd44d..18b108c500 100644 --- a/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_autothermal_reformer_conversion.gql +++ b/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_autothermal_reformer_conversion.gql @@ -1,12 +1,13 @@ # Direct conversion input of natural gas for steam methane reforming without CCS - - query = DIVIDE( - V( - energy_hydrogen_autothermal_reformer_must_run, - energy_hydrogen_autothermal_reformer_dispatchable, - input_of_natural_gas + SUM( + V( + energy_hydrogen_autothermal_reformer_must_run, + energy_hydrogen_autothermal_reformer_dispatchable, + input_of_natural_gas + ), ), BILLIONS ) diff --git a/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_steam_methane_reformer_conversion.gql b/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_steam_methane_reformer_conversion.gql index 45a5c41ead..83e656d105 100644 --- a/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_steam_methane_reformer_conversion.gql +++ b/gqueries/general/conversion/hydrogen/carrier_for_hydrogen_conversion/natural_gas_for_steam_methane_reformer_conversion.gql @@ -1,12 +1,13 @@ # Direct conversion input of natural gas for steam methane reforming without CCS - - query = DIVIDE( - V( - energy_hydrogen_steam_methane_reformer_must_run, - energy_hydrogen_steam_methane_reformer_dispatchable, - input_of_natural_gas + SUM( + V( + energy_hydrogen_steam_methane_reformer_must_run, + energy_hydrogen_steam_methane_reformer_dispatchable, + input_of_natural_gas + ), ), BILLIONS )