Solar panels on homes and businesses helped feed the regional electric grid as demand for cooling climbed.