Power distribution automation