v3.10.0.1

VIE Arrangements - Carrying Amounts and Classification of the VIEs' Assets and Liabilities Included in the Consolidated Balance Sheets (Details) - USD ($) $ in Thousands | Jun. 30, 2018 | Dec. 31, 2017
--- | --- | ---
Current assets: |  |  |
Cash |  | $ 215,706 | $ 202,525
Restricted cash |  | 54,549 | 39,265
Accounts receivable, net |  | 123,334 | 112,069
Prepaid expenses and other current assets |  | 9,114 | 9,202
Total current assets |  | 484,007 | 468,573
Solar energy systems, net |  | 3,437,822 | 3,161,570
Other assets |  | 244,841 | 194,754
Total assets | [1] | 4,299,368 | 3,963,136
Current liabilities: |  |  |
Accounts payable |  | 85,104 | 115,193
Distributions payable to noncontrolling interests and redeemable noncontrolling interests |  | 15,063 | 13,583
Accrued expenses and other liabilities |  | 98,294 | 97,230
Deferred revenue, current portion |  | 45,194 | 42,609
Deferred grants, current portion |  | 8,173 | 8,193
Non-recourse debt, current portion |  | 24,571 | 21,529
Total current liabilities |  | 322,493 | 311,145
Deferred revenue, net of current portion |  | 534,848 | 522,243
Deferred grants, net of current portion |  | 223,019 | 227,519
Non-recourse debt, net of current portion |  | 1,226,038 | 1,026,416
Other liabilities |  | 39,691 | 42,743
Total liabilities | [1] | 2,924,118 | 2,598,819
Variable Interest Entities |  |  |
Current assets: |  |  |
Cash |  | 90,445 | 118,352
Restricted cash |  | 1,044 | 2,699
Accounts receivable, net |  | 70,108 | 57,402
Prepaid expenses and other current assets |  | 465 | 917
Total current assets |  | 162,062 | 179,370
Solar energy systems, net |  | 2,627,741 | 2,385,329
Other assets |  | 8,730 | 3,679
Total assets |  | 2,798,533 | 2,568,378
Current liabilities: |  |  |
Accounts payable |  | 17,104 | 15,929
Distributions payable to noncontrolling interests and redeemable noncontrolling interests |  | 15,013 | 13,526
Accrued expenses and other liabilities |  | 6,260 | 5,200
Deferred revenue, current portion |  | 30,410 | 28,695
Deferred grants, current portion |  | 1,016 | 1,021
Non-recourse debt, current portion |  | 2,140 | 11,179
Total current liabilities |  | 71,943 | 75,550
Deferred revenue, net of current portion |  | 389,830 | 381,066
Deferred grants, net of current portion |  | 28,748 | 29,385
Non-recourse debt, net of current portion |  | 194,044 | 190,106
Other liabilities |  | 9,454 | 1,848
Total liabilities |  | $ 694,019 | $ 677,955
[1] | The Company’s consolidated assets as of June 30, 2018 and December 31, 2017 include $2,798,533 and $2,568,378, respectively, in assets of variable interest entities, or “VIEs”, that can only be used to settle obligations of the VIEs. These assets include solar energy systems, net, as of June 30, 2018 and December 31, 2017 of $2,627,741 and $2,385,329, respectively; cash as of June 30, 2018 and December 31, 2017 of $90,445 and $118,352, respectively; restricted cash as of June 30, 2018 and December 31, 2017 of $1,044 and $2,699, respectively; accounts receivable, net as of June 30, 2018 and December 31, 2017 of $70,108 and $57,402, respectively; prepaid expenses and other current assets as of June 30, 2018 and December 31, 2017 of $465 and $917, respectively and other assets as of June 30, 2018 and December 31, 2017 of $8,730 and $3,679, respectively. The Company’s consolidated liabilities as of June 30, 2018 and December 31, 2017 include $694,019 and $677,955, respectively, in liabilities of VIEs whose creditors have no recourse to the Company. These liabilities include accounts payable as of June 30, 2018 and December 31, 2017 of $17,104 and $15,929, respectively; distributions payable to noncontrolling interests and redeemable noncontrolling interests as of June 30, 2018 and December 31, 2017 of $15,013 and $13,526, respectively; accrued expenses and other liabilities as of June 30, 2018 and December 31, 2017 of $6,260 and $5,200, respectively; deferred revenue as of June 30, 2018 and December 31, 2017 of $420,240 and $409,761, respectively; deferred grants as of June 30, 2018 and December 31, 2017 of $29,764 and $30,406, respectively; and non-recourse debt as of June 30, 2018 and December 31, 2017 of $196,184 and $201,285, respectively.

X
- Definition Deferred grant current portion. + References No definition available. + Details
Name: | run_DeferredGrantCurrentPortion
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Deferred grant income noncurrent. + References No definition available. + Details
Name: | run_DeferredGrantIncomeNoncurrent
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Distributions payable to non-controlling interests and redeemable non-controlling interests. + References No definition available. + Details
Name: | run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Non recourse debt current. + References No definition available. + Details
Name: | run_NonRecourseDebtCurrent
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Non recourse debt noncurrent. + References No definition available. + Details
Name: | run_NonRecourseDebtNoncurrent
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(a)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AccountsPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AccountsReceivableNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other. + References No definition available. + Details
Name: | us-gaap_AccruedLiabilitiesAndOtherLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(12)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(11)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_Assets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.9) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6801-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 + Details
Name: | us-gaap_AssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_Cash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The carrying amount of consideration received or receivable as of the balance sheet date on potential earnings that were not recognized as revenue in conformity with GAAP, and which are expected to be recognized as such within one year or the normal operating cycle, if longer, including sales, license fees, and royalties, but excluding interest income. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q1(c)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6935-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q2) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(c).Q3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 + Details
Name: | us-gaap_DeferredRevenueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The noncurrent portion of deferred revenue amount as of balance sheet date. Deferred revenue is a liability related to a revenue producing activity for which revenue has not yet been recognized, and is not expected to be recognized in the next twelve months. Generally, an entity records deferred revenue when it receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized in conformity with GAAP. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6935-107765 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(c).Q3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q1(c)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q2) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 + Details
Name: | us-gaap_DeferredRevenueNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19-26) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_Liabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.21) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Amount of noncurrent assets classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(8)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(7)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 + Details
Name: | us-gaap_PrepaidExpenseAndOtherAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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
- Definition Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3044-108585 + Details
Name: | us-gaap_RestrictedCashCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |