v3.10.0.1

Derivatives - Summary of Derivative Instruments (Details) - Interest rate swaps $ in Thousands | Jun. 30, 2018 USD ($) Instrument
--- | ---
Interest rate swap, 9/20/2020 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 1
Hedge interest rates | 2.69%
Notional amount | $ 110,242
Derivative liability, fair market value | $ (165)
Interest rate swap, 8/31/2022 - 9/30/2022 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 2
Notional amount | $ 25,726
Derivative asset, fair market value | $ 826
Interest rate swap, 8/31/2022 - 9/30/2022 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 1.27%
Interest rate swap, 8/31/2022 - 9/30/2022 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.37%
Interest rate swap, 4/30/2024 - 10/31/2024 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 10
Notional amount | $ 342,631
Derivative asset, fair market value | $ 9,241
Interest rate swap, 4/30/2024 - 10/31/2024 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.16%
Interest rate swap, 4/30/2024 - 10/31/2024 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.69%
Interest rate swap, 10/30/2026 - 10/31/2026 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 3
Notional amount | $ 102,720
Derivative liability, fair market value | $ (426)
Interest rate swap, 10/30/2026 - 10/31/2026 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.89%
Interest rate swap, 10/30/2026 - 10/31/2026 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 3.08%
Interest rate swap, 10/31/2028 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 4
Notional amount | $ 124,492
Derivative asset, fair market value | $ 5,581
Interest rate swap, 10/31/2028 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.17%
Interest rate swap, 10/31/2028 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.18%
Interest rate swap, 6/20/2030 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 1
Hedge interest rates | 2.57%
Notional amount | $ 67,013
Derivative asset, fair market value | $ 963
Interest rate swap, 9/30/2031 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 1
Hedge interest rates | 3.23%
Notional amount | $ 8,642
Derivative liability, fair market value | $ (101)
Interest rate swap, 4/20/2032 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 1
Hedge interest rates | 2.60%
Notional amount | $ 33,409
Derivative asset, fair market value | $ 530
Interest rate swap, 7/31/2034 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 5
Notional amount | $ 144,379
Derivative asset, fair market value | $ 3,010
Interest rate swap, 7/31/2034 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.48%
Interest rate swap, 7/31/2034 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.95%
Interest rate swap, 7/31/2035 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 5
Notional amount | $ 151,869
Derivative asset, fair market value | $ 1,880
Interest rate swap, 7/31/2035 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.62%
Interest rate swap, 7/31/2035 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.95%
Interest rate swap, 10/31/2036 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 5
Notional amount | $ 182,267
Derivative asset, fair market value | $ 2,049
Interest rate swap, 10/31/2036 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.62%
Interest rate swap, 10/31/2036 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 2.95%
Interest rate swap, 1/31/2038 |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Quantity | Instrument | 3
Notional amount | $ 101,135
Derivative liability, fair market value | $ (568)
Interest rate swap, 1/31/2038 | Minimum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 3.01%
Interest rate swap, 1/31/2038 | Maximum |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |
Hedge interest rates | 3.16%

X
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Article 12 -Section 13 -Sentence Column B + Details
Name: | invest_DerivativeNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5624163-113959 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82849420&loc=SL20226000-175313 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=82924980&loc=SL51823488-111719 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=82924980&loc=SL51823488-111719 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5624163-113959 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82849420&loc=SL20226000-175313 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of derivative instruments of a particular group held by the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNumberOfInstrumentsHeld
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of an entity's outstanding debt that is designated as a hedged item in cash flow, fair value, or net investment hedge. + References No definition available. + Details
Name: | us-gaap_PercentageOfDebtHedgedByInterestRateDerivatives
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractSixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractTenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractElevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditDerivativesByContractTypeAxis=run_InterestRateSwapContractTwelveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |