Accurate Measurements of Energy, Efficiency and Power Quality in the Electric Railway System