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

2015 48.98 ms
0.009007182427100772
factor
2050 47.48 ms
0.012071120602528245
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