GQL Statement

DIVIDE(
SUM(
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group))," primary_demand_of_waste_mix + primary_demand_of_biogenic_waste + primary_demand_of_non_biogenic_waste"),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_ambient_heat),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_ambient_cold),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_wood_pellets),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_greengas),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_biodiesel),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_bio_ethanol),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_bio_oil),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_biogas),
  V(INTERSECTION(V(SECTOR(agriculture),SECTOR(other)),G(final_demand_group)), primary_demand_of_electricity)
   )
,
SUM(
  V(G(final_demand_group), primary_demand),
  NEG(SUM(
      V(G(final_demand_group), primary_demand_of_imported_electricity)
      ))
   )
)

Result

2019 85.67 ms
0.00545478728306558
factor
2050 34.68 ms
0.009446064631962429
factor

Description

The share of sustainable_agriculture in the primary demand (excluding imported_electricity)
I added " + primary_demand_of_biogenic_waste + primary_demand_of_non_biogenic_waste" to the waste part.
Either primary_demand_of_waste can be removed, or the new carrier group can be queried instead.

Characteristics

Groups
Unit factor
File path /app/tmp/etsource/gqueries/modules/energymixer/share_of_total_costs_assigned_to_renewables_in_agriculture.gql

References