In an effort to combat rising electricity bills, local and state governments are increasingly experimenting with “virtual power plants” — networks of rooftop solar panels, home batteries, smart ...