SolarCity, a leading provider of small-scale solar energy installations, has raised $345 million from four undisclosed tax equity investors to finance new projects.