With thousands of new smart-enabled solar homes joining the grid each month, Puerto Rico is building a distributed, responsive network that can help manage grid fluctuations in real time.