GQL Statement

DIVIDE(
  PRODUCT(
    IF(
      GRAPH().future?,
      -> { V(GRAPH(), volume_of_power_shortage_hours) },
      -> { 0 }
    ),
    MWH_TO_GJ
  ),
  MILLIONS
)

Result

2019
0.0
PJ
2050
0.0
PJ

Description

The "volume_of_power_shortage_hours" method returns the blackouts in MWh.
This needs to be refactored to PJ.

Characteristics

Groups
Unit PJ
File path /app/tmp/etsource/gqueries/general/electricity/power_shortage/power_shortage_volume.gql

References

Gquery dashboard_power_shortage_volume