IEC 61672: Time-averaging and time-weighting