Solar PV application with pulse detection

Hi, 

Has anyone altered the solar pv application to use a pulse input for the total power imported? If so, is it possible?

Appreciate any help on this.