Statistics for On design of IoT-based power quality oriented grids for industrial sector