Quarterly report pursuant to Section 13 or 15(d)

Revenue from Contracts with Customers - Disaggregation of Revenue (Details)

v3.10.0.1
Revenue from Contracts with Customers - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Disaggregation of Revenue [Line Items]        
Revenues $ 196,982 $ 166,665 $ 364,392 $ 301,275
United States        
Disaggregation of Revenue [Line Items]        
Revenues 185,104   342,565  
Canada        
Disaggregation of Revenue [Line Items]        
Revenues 7,483   15,922  
Other        
Disaggregation of Revenue [Line Items]        
Revenues 4,395   5,905  
Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 139,032   250,715  
O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 15,893   30,981  
Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 22,792   44,286  
Other        
Disaggregation of Revenue [Line Items]        
Revenues 19,265   38,410  
U.S. Regions        
Disaggregation of Revenue [Line Items]        
Revenues 88,778   163,469  
U.S. Regions | United States        
Disaggregation of Revenue [Line Items]        
Revenues 88,778   163,469  
U.S. Regions | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
U.S. Regions | Other        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
U.S. Regions | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 80,877   146,317  
U.S. Regions | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 4,069   7,964  
U.S. Regions | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 3,799   8,780  
U.S. Regions | Other        
Disaggregation of Revenue [Line Items]        
Revenues 33   408  
U.S. Federal        
Disaggregation of Revenue [Line Items]        
Revenues 58,214   105,999  
U.S. Federal | United States        
Disaggregation of Revenue [Line Items]        
Revenues 58,214   105,999  
U.S. Federal | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
U.S. Federal | Other        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
U.S. Federal | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 47,437   85,275  
U.S. Federal | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 9,566   18,744  
U.S. Federal | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 1,140   1,909  
U.S. Federal | Other        
Disaggregation of Revenue [Line Items]        
Revenues 71   71  
Canada        
Disaggregation of Revenue [Line Items]        
Revenues 7,958   16,862  
Canada | United States        
Disaggregation of Revenue [Line Items]        
Revenues 648   1,168  
Canada | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 7,310   15,694  
Canada | Other        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
Canada | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 5,317   12,253  
Canada | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 0   19  
Canada | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 1,017   1,383  
Canada | Other        
Disaggregation of Revenue [Line Items]        
Revenues 1,624   3,207  
Non-Solar DG        
Disaggregation of Revenue [Line Items]        
Revenues 19,921   38,038  
Non-Solar DG | United States        
Disaggregation of Revenue [Line Items]        
Revenues 19,921   38,038  
Non-Solar DG | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
Non-Solar DG | Other        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
Non-Solar DG | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 1,201   2,100  
Non-Solar DG | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 2,258   4,254  
Non-Solar DG | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 16,501   31,615  
Non-Solar DG | Other        
Disaggregation of Revenue [Line Items]        
Revenues (39)   69  
Other        
Disaggregation of Revenue [Line Items]        
Revenues 22,111   40,024  
Other | United States        
Disaggregation of Revenue [Line Items]        
Revenues 17,543   33,891  
Other | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 173   228  
Other | Other        
Disaggregation of Revenue [Line Items]        
Revenues 4,395   5,905  
Other | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 4,200   4,770  
Other | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
Other | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 335   599  
Other | Other        
Disaggregation of Revenue [Line Items]        
Revenues $ 17,576   $ 34,655