(Adds background on SunEdison)
By Jessica DiNapoli
April 15 (Reuters) - Solar energy company SunEdison Inc is preparing to file for bankruptcy as early as the evening of April 17, a person familiar with the matter said on Friday, nine months after its market value had reached $10 billion.
A SunEdison spokesman declined to comment.
Such a move would represent a fall from grace for the former darling of Wall Street and the renewable energy sector, whose rapid, debt-fueled expansion with solar and wind energy plants around the world proved unsustainable. The company's market value as of Friday was $117 million.
The source cautioned that the timing of the bankruptcy filing had not been finalized and asked not to be identified because the plans were not public.
SunEdison, which had debt of about $12 billion as of Sept. 30, said in a filing on Friday that it was in talks for potential debtor-in-possession financing with some of its first and second-lien lenders.
The company said it needed about $310 million to stay in business, estimating a cash shortfall of $260 million by mid-June. SunEdison said it expected to secure the financing by pledging assets.
In the filing, the company said challenges to its business started developing in the middle of last year, when it pursued acquiring Vivint Solar Inc and it worked on an initial public offering for TerraForm Global, a so-called "yieldco" company it created to hold renewable energy assets.
TerraForm Global and SunEdison's other yieldco, TerraForm Power, hired financial and legal advisors to help them prepare and develop contingency plans in case SunEdison files for bankruptcy, a spokesman for the yieldcos said on Friday.
The companies rely on SunEdison to make interest payments for them and for back office functions. They have no employees of their own.
Typically, companies enter into debtor-in-possession financing after they file for bankruptcy protection to maintain liquidity while they reorganize.
Analysts said that while the decision to seek debtor-in-possession financing did not necessarily mean the company would file for bankruptcy, it was likely that this would happen soon.
"It is definitely a sign that they are thinking about it because they are trying to get the arrangement in place before they file," said Ian Feng, an analyst at credit research firm Covenant Review.
In the filing, SunEdison laid out three scenarios to continue operating. Two included bankruptcy expenses of more than $70 million.
The company said it entered into confidentiality agreements with lenders on March 17. (http://bit.ly/1SGdzfX)
Debtwire first reported in March that SunEdison was in talks with holders of its second lien loans to fund a DIP facility. (http://bit.ly/1SGjams) (Reporting by Jessica DiNapoli in New York; Additional reporting by Arathy S Nair in Bengaluru; Editing by Saumyadeb Chakrabarty and Ted Kerr)