Voltage reading from Inverter

Hi Guys,

I am going to try and use my existing Arduino based inverter monitor to also monitor my household consumption. I am planning on basing it heavily on the great work on here. I am currently looking at modifying the "Basic energy monitoring sketch" I have a few questions in relation to that specific script:

I can poll my inverter for the current mains voltage so I don't need the AC-AC adapter solution. Given that I get an accurate mains voltage should I just comment out filteredV and shiftedV and use sampleV all the way down.

I assume that the code in this thread: http://openenergymonitor.org/emon/node/198 is what I would use to calculate the total consumption for the day. I then just need to write a small bit of code to calculate a RMS for real power because the data is uploaded every 5 mins.

EDIT: Also I am using 3 phase power so what is the best way to combine this. (1) Do three analogue reads and add them together for a total sampleI (or does the IRATIO vary too much between CTs?); or (2) Do consecutive calls to the function for each phase and add the real powers at the end; or (3) Something else??

Thanks for your help!