GQL Statement

{
:households => V(INTERSECTION(G(final_demand_group),SECTOR(households)),demand).sum,
:buildings => V(INTERSECTION(G(final_demand_group),SECTOR(buildings)),demand).sum,
:transport => V(INTERSECTION(G(final_demand_group),SECTOR(transport)),demand).sum,
:other => V(INTERSECTION(G(final_demand_group),SECTOR(industry)),demand).sum,
:agriculture => V(INTERSECTION(G(final_demand_group),SECTOR(agriculture)),demand).sum,
:industry => V(INTERSECTION(G(final_demand_group),SECTOR(industry)),demand).sum
}.sort_by { |name, demand| demand }.to_a.last[1]

Result

2015 2.49 ms
1,310,876,050,501.8455
2050 2.03 ms
1,381,404,918,381.928

Description

Characteristics

Groups
Unit
File path /app/tmp/etsource/gqueries/modules/scenario_report/main_report/biggest_final_demand_sector_value.gql

References