Development of an energy meter using a pump flow station