Image source: Getty Images.

SunEdison's bankruptcy has blown a hole in the renewable energy industry and left a number of struggling companies in its wake. Yieldcos TerraForm Power (NASDAQ:TERP) and TerraForm Global haven't been able to file financial statements since fall 2015, for the unfortunate reason that they share back-office capabilities with SunEdison.

And now Vivint Solar (NYSE:VSLR), which was supposed to be acquired by SunEdison for $2.2 billion before the deal fell apart earlier this year, is getting in line with creditors who are owed billions by SunEdison. According to The Wall Street Journal, the residential solar installer is suing for $1 billion for breach of contract in relation to the acquisition. 

Vivint Solar gets in line with creditors

Since SunEdison is in bankruptcy, it is facing creditors who are owed some $8 billion, and Vivint Solar is really just getting in line with them. Clearly, Vivint's management feels that there's some upside in filing a $1 billion lawsuit because of SunEdison's failed acquisition of the company, even if it doesn't get anywhere near that amount.

The interesting thing is that TerraForm Power was a key cog in the deal to acquire Vivint Solar and could be dragged into the lawsuit as well. Here's what SunEdison said when it announced a modification to the merger agreement on Dec. 9, 2015:

In connection with the amendment of the merger agreement, SunEdison and TerraForm Power, LLC ("TerraForm Power") have amended and restated their existing purchase agreement (the "Amended TERP Purchase Agreement") to provide that concurrently with the completion of SunEdison's acquisition of Vivint Solar, TerraForm Power will acquire Vivint Solar's then-installed rooftop solar portfolio for a purchase price expected to be approximately $799 million based on the number of installed megawatts ("MW") expected to be delivered at closing, subject to reduction based on any solar portfolio debt assumed by TerraForm Power. The actual purchase price will be based on the actual MW acquired by TerraForm Power (up to a maximum of 523 MW) on the date the transaction closes.

Interestingly, SEC filings made early in 2016 indicate that TerraForm Power may have been the driving force behind SunEdison's acquisition of Vivint Solar, which could complicate TerraForm Power's effort to distance itself from the deal. 

What does this mean for TerraForm Power?

This adds another layer of complexity to TerraForm Power in SunEdison's bankruptcy. The company is already trying to fight off creditors pushing a technical default and the potential default on up to 10 project financing deals because of SunEdison's bankruptcy. We don't know yet if TerraForm Power will have any liability in the failed merger, but with all the lawsuits flying around, it's a risk. 

Adding to the unknowns is the fact that investors still don't have current financial statements, and no one really knows when they're coming. And SunEdison's stake in TerraForm Power is now one of the biggest assets creditors have left to fight over.

Hedge funds are starting to bet that TerraForm Power will be a big winner for them in the long term, but retail investors should be careful following their lead. There are too many unknowns to think this is a surefire winner, and with even the slight possibility of SunEdison dragging the company into bankruptcy, there are high risks ahead.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.