A 37-year-old worker died on Friday after being electrocuted at an Endesa substation in Cala Millor (Sant Llorenç).