Statistics for Intelligent voltage dip mitigation in power networks with distributed generation