Definition and measurement of a new electrical power quality index for power system management purposes