Protection of distribution systems