implement calcintegratedwatts