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

2019 2.31 ms
1,249,656,057,176.1018
2050 2.07 ms
1,277,699,193,081.9917

Description

Characteristics

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

References