v3.10.0.1

Solar Energy Systems, net (Details) - USD ($) $ in Thousands | Jun. 30, 2018 | Dec. 31, 2017
--- | --- | ---
Property Subject to or Available for Operating Lease [Line Items] |  |
Solar energy systems | $ 3,808,879 | $ 3,441,797
Less: accumulated depreciation and amortization | (463,983) | (399,280)
Add: construction-in-progress | 92,926 | 119,053
Total solar energy systems, net | 3,437,822 | 3,161,570
Solar energy system equipment costs |  |
Property Subject to or Available for Operating Lease [Line Items] |  |
Solar energy systems | 3,455,457 | 3,124,407
Inverters |  |
Property Subject to or Available for Operating Lease [Line Items] |  |
Solar energy systems | $ 353,422 | $ 317,390

X
- Definition Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_ConstructionInProgressGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of accumulated depreciation, by major property class, recorded on property subject to or available for lease as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84164653&loc=d3e41551-112718 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=77907726&loc=d3e41460-112716 + Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before accumulated depreciation of physical assets used in the normal conduct of business to produce goods and services subject to or available for lease. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=77907726&loc=d3e41457-112716 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84164653&loc=d3e41551-112718 + Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of property, by major property class, net of accumulated depreciation, subject to or available for lease as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84164653&loc=d3e41551-112718 + Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_EquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=run_InvertersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |