The NEC of power quality