GQL Statement

DIVIDE(
  SUM(
    V(
      FILTER(G(sankey_conversion_group),"steam_hot_water_output_conversion > 0.0 && steam_hot_water_input_conversion > 0.0"),
      "steam_hot_water_output_conversion * steam_hot_water_input_conversion / (1 - loss_output_conversion) * output_of_loss"
    ),
    V(INPUT_EDGES(ALL(),"treat_as_loss? && steam_hot_water?"),demand)
  ),
  BILLIONS
)

Result

2019
9.950035971833644
PJ
2050
44.08194225129797
PJ

Description

The treat as loss check adds unused heat to the losses
The steam hot water check is to ensure it only applies to steam hot water edges

Characteristics

Groups
Unit PJ
File path /app/tmp/etsource/gqueries/modules/sankey_csv/conversion/steam_hot_water/conversion_loss_steam_hot_water_to_steam_hot_water.gql

References

Gquery sankey_1_to_2_heat_to_loss