Skip to content

Commit

Permalink
Changes to errors in Sankey
Browse files Browse the repository at this point in the history
  • Loading branch information
kaskranenburgQ committed Dec 18, 2023
1 parent 97f45e5 commit 654fce8
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@
# For renewable energy carriers the output of electricity is taken by convention

- query =
DIVIDE(
SUM(
V(
FILTER(G(electricity_production),"solar_radiation_input_conversion > 0.0"),
output_of_electricity
)
),
SUM(
DIVIDE(
SUM(
V(
FILTER(G(electricity_production),"solar_radiation_input_conversion > 0.0"),
output_of_electricity
),
),
BILLIONS
)
),
DIVIDE(
SUM(
V(
FILTER(G(costs_production_dedicated_hydrogen_production),"solar_radiation_input_conversion > 0.0"),
output_of_electricity
)
),
BILLIONS
)
)


- unit = PJ
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,24 @@
# For renewable energy carriers the output of electricity is taken by convention

- query =
DIVIDE(
SUM(
V(
FILTER(G(electricity_production),"wind_input_conversion > 0.0"),
output_of_electricity
)
),
BILLIONS
SUM(
DIVIDE(
SUM(
V(
FILTER(G(electricity_production),"wind_input_conversion > 0.0"),
output_of_electricity
)
),
BILLIONS
),
DIVIDE(
SUM(
V(
FILTER(G(costs_production_dedicated_hydrogen_production),"wind_input_conversion > 0.0"),
output_of_electricity
)
),
BILLIONS
)
)
- unit = PJ
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
DIVIDE(
SUM(
V(
G(liquid_hydrogen_supply),
"hydrogen_output_conversion / (1 - loss_output_conversion) * input_of_imported_liquid_hydrogen"
G(hydrogen_production),
"hydrogen_output_conversion / (1 - loss_output_conversion) * input_of_liquid_hydrogen"
)
),
BILLIONS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
DIVIDE(
SUM(
V(
G(lohc_supply),
"hydrogen_output_conversion / (1 - loss_output_conversion) * input_of_imported_lohc"
G(hydrogen_production),
"hydrogen_output_conversion / (1 - loss_output_conversion) * input_of_lohc"
)
),
BILLIONS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- query =
DIVIDE(
SUM(
V(
FILTER(G(sankey_conversion_group),"hydrogen_output_conversion > 0.0 && liquid_hydrogen_input_conversion > 0.0"),
"hydrogen_output_conversion * liquid_hydrogen_input_conversion / (1 - loss_output_conversion) * output_of_loss"
)
),
BILLIONS
)
- unit = PJ
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- query =
DIVIDE(
SUM(
V(
FILTER(G(sankey_conversion_group),"hydrogen_output_conversion > 0.0 && lohc_input_conversion > 0.0"),
"hydrogen_output_conversion * lohc_input_conversion / (1 - loss_output_conversion) * output_of_loss"
)
),
BILLIONS
)
- unit = PJ
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Q(conversion_loss_hydrogen_to_hydrogen),
Q(conversion_loss_natural_gas_and_derivatives_to_hydrogen),
Q(conversion_loss_biomass_products_to_hydrogen),
Q(conversion_loss_ammonia_to_hydrogen)
Q(conversion_loss_ammonia_to_hydrogen),
Q(conversion_loss_lohc_to_hydrogen),
Q(conversion_loss_liquid_hydrogen_to_hydrogen)
)
- unit = PJ

#Q(conversion_loss_lohc_to_hydrogen)
#Q(conversion_loss_liqud_hydrogen_to_hydrogen)

0 comments on commit 654fce8

Please sign in to comment.