GQL Statement
SUM(
  V(
    FILTER(
      FILTER(
        EG(final_demand),"sector == :buildings"
      ),
      steam_hot_water?
    ),
    "sustainability_share * value"
  ),
  V(
    FILTER(
      FILTER(
        EG(final_demand),"sector == :buildings"
      ),
      useable_heat?
    ),
    "sustainability_share * value"
  )
) / BILLIONS
Result
| 2019 | 5.017467417702762 | PJ | 
| 2050 | 4.627310396981147 | PJ | 
Description
Final demand of renewable heat in the 'heat' carrier group
 
Characteristics
| Groups |  | 
| Unit | PJ | 
| File path | /app/tmp/etsource/gqueries/general/final_demand/mece/final_demand_of_renewable_heat_in_buildings.gql | 
References