v3.10.0.1

Organization - Additional Information (Details) | 6 Months Ended
--- | ---
Jun. 30, 2018 InvestmentFund
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Power purchase or lease agreement term | 20 years
Number of types of investment funds used by the company | 3

X
- Definition Number of types of investment funds used by entity. + References No definition available. + Details
Name: | run_NumberOfInvestmentFundsUsedByEntity
Namespace Prefix: | run_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of the lessor's leasing arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LessorLeasingArrangementsOperatingLeasesTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration