Title: A digital wattmeter for measurements in circuits with high harmonic content