calculating electric boiler Agent consumption