This dataset represents the consumable electricity in Shanghai, and the process considers the infrastructure required for electricity transmission to the end user, including emissions and transmission losses, with a line loss rate of 4.09%. Data are mainly from official statistics.