Skip to content

Commit

Permalink
Adding queries to refinery sankey to include industry transformation (
Browse files Browse the repository at this point in the history
…#3126)

* Adding queries to refinery sankey to include industry transformation

* Removing wrong documentation in queries

* Update loss output query and minor syntax fixes

---------

Co-authored-by: Kyra de Haan <[email protected]>
  • Loading branch information
kaskranenburgQ and kndehaan authored Sep 30, 2024
1 parent e18405c commit 772ab3e
Show file tree
Hide file tree
Showing 36 changed files with 346 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_ammonia"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_crude_oil"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_electricity"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_greengas"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_hydrogen"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_methanol"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_natural_gas"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_not_defined"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_steam_hot_water"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_waste_mix"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"input_of_wood_pellets"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_ammonia"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_crude_oil"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_diesel"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_gasoline"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_greengas"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_heavy_fuel_oil"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_hydrogen"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_kerosene"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Uses "loss_output_conversion * demand" instead of output_of_loss since not_defined output will then be accounted for
# the not_defined output of transformatio nodes is however a non-refinery output product, not a loss

- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"loss_output_conversion * demand"
)
),
BILLIONS
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_lpg"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_methanol"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_natural_gas"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- unit = PJ
- query =
DIVIDE(
SUM(
V(
G(industry_transformation),
"output_of_not_defined"
)
),
BILLIONS
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- unit = PJ
- query =
SUM(
PRODUCT(
Q(input_of_crude_oil_in_industry_transformation),
V(energy_extraction_crude_oil, share_of_energy_distribution_crude_oil)
)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- unit = PJ
- query =
SUM(
PRODUCT(
Q(input_of_crude_oil_in_industry_transformation),
V(energy_import_crude_oil, share_of_energy_distribution_crude_oil)
)
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_diesel_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_gasoline_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_heavy_fuel_oil_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(input_of_steam_hot_water_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_loss_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- unit = PJ
- query =
SUM(
Q(output_of_ammonia_in_industry_transformation),
Q(output_of_greengas_in_industry_transformation),
Q(output_of_hydrogen_in_industry_transformation),
Q(output_of_natural_gas_in_industry_transformation),
Q(output_of_methanol_in_industry_transformation),
Q(output_of_not_defined_in_industry_transformation)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_kerosene_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_lpg_in_industry_transformation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- unit = PJ
- query =
SUM(
Q(input_of_ammonia_in_industry_transformation),
Q(input_of_electricity_in_industry_transformation),
Q(input_of_greengas_in_industry_transformation),
Q(input_of_hydrogen_in_industry_transformation),
Q(input_of_methanol_in_industry_transformation),
Q(input_of_natural_gas_in_industry_transformation),
Q(input_of_not_defined_in_industry_transformation),
Q(input_of_waste_mix_in_industry_transformation),
Q(input_of_wood_pellets_in_industry_transformation)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- unit = PJ
- query = Q(output_of_crude_oil_in_industry_transformation)

0 comments on commit 772ab3e

Please sign in to comment.