The electricity company said that the explosion at its substation occurred at about 7:30 p.m. on Friday.