Measuring power quality by EN50160, EN61000-2-4, proposing energy measurement systems, power factor solution for photovoltaic power plants