Smart grid risk assessment