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