Hello, I have used below link to calculate total home energy consumption from KW information as provided by inverters.
I am thinking it will work for you.