v0.9.13
Assuming you want to get a Mk2 back instead of a normal substation:
prototypes/entities/buildings/substation-mk2.lua line 12
is:
minable = {mining_time = 0.1, result = "substation"},
should be:
minable = {mining_time = 0.1, result = "kr-substation-mk2"},