Maximizing Investment Value of Small-Scale PV in a Smart Grid Environment