shares of sunrun inc run were up 9 in afterhours trading wednesday after the provider of solarenergy services missed revenue expectations for the second quarter but delivered a surprise profit the company posted net income of 555 million or 25 cents a share whereas it posted a loss of 124 million or 6 cents a share in the yearprior period analysts tracked by factset were expecting a 24cent loss per share revenue rose to 5902 million from 5846 million while analysts projected 6277 million “we are seeing a tremendous acceleration in storage attachment rates on new sales in california and across the country which provides increased customer value and superior margins for sunrun while building a foundation of controllable generation assets that enables a clean energy future for all” chief executive mary powell said in a release