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 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Disaggregation of Revenue [Line Items]        
Revenues $ 205,375 $ 204,744 $ 569,767 $ 506,019
United States        
Disaggregation of Revenue [Line Items]        
Revenues 188,782   531,347  
Canada        
Disaggregation of Revenue [Line Items]        
Revenues 11,218   27,140  
Other        
Disaggregation of Revenue [Line Items]        
Revenues 5,375   11,280  
Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 141,655   392,370  
O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 17,186   48,167  
Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 25,504   69,790  
Other        
Disaggregation of Revenue [Line Items]        
Revenues 21,030   59,440  
U.S. Regions        
Disaggregation of Revenue [Line Items]        
Revenues 86,402   249,871  
U.S. Regions | United States        
Disaggregation of Revenue [Line Items]        
Revenues 86,402   249,871  
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 77,345   223,662  
U.S. Regions | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 4,432   12,396  
U.S. Regions | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 4,064   12,844  
U.S. Regions | Other        
Disaggregation of Revenue [Line Items]        
Revenues 561   969  
U.S. Federal        
Disaggregation of Revenue [Line Items]        
Revenues 62,378   168,377  
U.S. Federal | United States        
Disaggregation of Revenue [Line Items]        
Revenues 62,378   168,377  
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 49,762   135,037  
U.S. Federal | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 10,733   29,477  
U.S. Federal | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 1,507   3,416  
U.S. Federal | Other        
Disaggregation of Revenue [Line Items]        
Revenues 376   447  
Canada        
Disaggregation of Revenue [Line Items]        
Revenues 11,604   28,466  
Canada | United States        
Disaggregation of Revenue [Line Items]        
Revenues 419   1,587  
Canada | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 11,185   26,879  
Canada | Other        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
Canada | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 9,206   21,459  
Canada | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 15   34  
Canada | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 921   2,304  
Canada | Other        
Disaggregation of Revenue [Line Items]        
Revenues 1,462   4,669  
Non-Solar DG        
Disaggregation of Revenue [Line Items]        
Revenues 22,138   60,176  
Non-Solar DG | United States        
Disaggregation of Revenue [Line Items]        
Revenues 22,138   60,176  
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,268   3,368  
Non-Solar DG | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 2,006   6,260  
Non-Solar DG | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 18,790   50,405  
Non-Solar DG | Other        
Disaggregation of Revenue [Line Items]        
Revenues 74   143  
Other        
Disaggregation of Revenue [Line Items]        
Revenues 22,853   62,877  
Other | United States        
Disaggregation of Revenue [Line Items]        
Revenues 17,445   51,336  
Other | Canada        
Disaggregation of Revenue [Line Items]        
Revenues 33   261  
Other | Other        
Disaggregation of Revenue [Line Items]        
Revenues 5,375   11,280  
Other | Project revenue        
Disaggregation of Revenue [Line Items]        
Revenues 4,074   8,844  
Other | O&M revenue        
Disaggregation of Revenue [Line Items]        
Revenues 0   0  
Other | Energy assets        
Disaggregation of Revenue [Line Items]        
Revenues 222   821  
Other | Other        
Disaggregation of Revenue [Line Items]        
Revenues $ 18,557   $ 53,212