Tesla Inc. took a $62 million hit when it abandoned some of its research and development work within its solar energy and battery storage businesses, the company said in a regulatory filing.

Tesla didn't specify what research and development projects it abandoned, but the company said in an earlier filing that they are related to solar energy initiatives it inherited when it acquired SolarCity in November 2016.

The company initially disclosed that it took a $47 million impairment charge related to the research and development work that it scrapped, and wrote off another $15 million in equipment related to those efforts in a filing it made in late April with the Securities and Exchange Commission following its first-quarter financial report.

Tesla, in the filing this week, said it is "continuing with design iterations and testing" on the solar roof product that it makes at its sprawling RiverBend factory in South Buffalo. Tesla CEO Elon Musk said in June that the company was working on "version three" of the solar roof, which is designed to look like a conventional roof but with solar cells inside.