Reconciliation of Cash and Cash Equivalents and Restricted Cash as Presented in the Consolidated Statements of Cash Flows
The following table provides a reconciliation of cash and cash equivalents and restricted cash reported within the consolidated balance sheets to the total of the same such amounts shown in the consolidated statements of cash flows for the years ended December 31, 2018, 2017 and 2016.
As of December 31,
Cash and cash equivalents
Restricted cash - current
Restricted cash - non-current
Cash, cash equivalents and restricted cash shown in the consolidated statements of cash flows
As discussed in Note 10. Long-term Debt, the Company was in default under certain of its non-recourse financing agreements as of the financial statement issuance date for the years ended December 31, 2018 and 2017. As a result, the Company reclassified $11.2 million and $18.8 million, respectively, of long-term restricted cash to current as of December 31, 2018 and 2017, consistent with the corresponding debt classification, as the restrictions that required the cash balances to be classified as long-term restricted cash were driven by the financing agreements. As of December 31, 2018 and 2017, $1.4 million and $21.7 million, respectively, of cash and cash equivalents was also reclassified to current restricted cash as the cash balances were subject to distribution restrictions related to debt defaults that existed as of the respective balance sheet date.
Accounts Receivable and Allowance for Doubtful Accounts
Accounts receivable are reported on the consolidated balance sheets, including both billed and unbilled amounts, and are adjusted for any write-offs as well as the allowance for doubtful accounts. The Company establishes an allowance for doubtful accounts to adjust its receivables to amounts considered to be ultimately collectible and charges to the allowance are recorded within general and administrative expenses in the consolidated statements of operations. The Company's allowance is based on a variety of factors, including the length of time receivables are past due, significant one-time events, the financial health of its customers and historical experience. The allowance for doubtful accounts was $1.6 million and $1.7 million as of December 31, 2018 and 2017, respectively, and charges (reductions) to the allowance recorded within general and administrative expenses for the years ended December 31, 2018, 2017 and 2016 were $0.1 million, $(1.5) million and $0.5 million, respectively. Accounts receivable are written off in the period in which the receivable is deemed uncollectible and collection efforts have been exhausted. There were no write-offs of accounts receivable for the years ended December 31, 2018, 2017 and 2016.
Renewable Energy Facilities
Renewable energy facilities consist of solar generation facilities and wind power plants that are stated at cost. Expenditures for major additions and improvements are capitalized, and minor replacements, maintenance and repairs are charged to expense as incurred. Depreciation of renewable energy facilities is recognized using the straight-line method over the estimated useful lives of the renewable energy facilities, which range from 23 to 30 years for the Company’s solar generation facilities. Effective October 1, 2016, the Company changed its estimates of the useful lives of the major components of its wind power plants to better reflect the estimated periods during which these major components will remain in service. These major components comprising the Company’s wind power plants had remaining useful lives ranging from 5 to 41 years and had an overall weighted average remaining useful life of 24 years as of October 1, 2016. This prospective change in estimate increased depreciation expense and net loss by $1.9 million for the year ended December 31, 2016. As of December 31, 2018 and 2017, they had a weighted average remaining useful life of 21 and 23 years, respectively.
Construction in-progress represents the cumulative construction costs, including the costs incurred for the purchase of major equipment and engineering costs and capitalized interest. Once the project achieves commercial operation, the Company reclassifies the amounts recorded in construction in progress to renewable energy facilities.