California utilities including PG&E Corp., Edison International and Sempra Energy are testing new ways to network solar panels, battery storage, two-way communication devices and software to create “virtual power plants” that manage green power and feed it into the power grid as needed.