California just mandated that nearly all new homes have solar, starting in less than two years. Now, it’s going to have to figure out what to do with all of that extra energy.  Already, the state is flooded with so much solar power during the day that it has to turn off some of its sun-fueled plants at times and often needs to ship excess green energy to neighboring states. The phenomenon has produced what state grid operators have been calling the duck curve — that’s when net power demand craters during daylight hours and then ramps up after sunset and natural-gas generators fire up to meet customer demand.  It’s an unintended consequence of the Golden State’s effort to slash greenhouse gas emissions and get half of its electricity from renewable sources by 2030, and has vexed the state’s grid operators. California’s top utility regulator warned last week of a looming energy crisis if the region doesn’t start planning for a future with more people either generating their own power or getting it from suppliers besides the big utilities.

“As the amount of renewables on the system grows, grid operators need increased visibility into behind-the-meter resources,” said Steven Greenlee, a spokesman for California Independent System Operator Corp., which runs the state’s power grid. Grid operators will need more visibility into how these home systems are working, he said.  To put it another way, “it has the potential to make the duck curve duckier,” said Ethan Zindler, a Washington-based analyst for Bloomberg New Energy Finance.