How California utilities are managing excess solar power.

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.

The Golden State is ramping up renewable energy as it pledges to be a bulwark against the Trump administration’s pro-fossil fuel policies. But…