A Canadian renewable energy company has bought what will be the largest solar project in Texas when it is built.

Innergex Renewable Energy Inc. will build the 250 megawatt Phoebe solar farm in Winkler County, which is on the border of New Mexico, after buying the project from Longroad Energy Partners. Innergex said the solar farm will cost nearly $400 million and is expected to be completed by the third quarter of 2019.

The project has a 12 year power purchase agreement with Shell Energy North America, which is Shell's North America wholesale energy marketer and trader.

Related: Gas prices climbing for the Fourth

The farm would be much larger than the 180 megawatt Upton 2 solar farm operated by Vistra Energy in Upton County, currently Texas' largest. It was recently announced that a 10 megawatt, 42 megawatt hour battery would be installed at the Upton 2 farm to shift some of the solar power to peak usage hours, which are typically between 5 and 7 p.m.

Innergex's announcement comes just a few weeks after it canceled a pair of wind projects in North Texas after concerns were voiced by a nearby Air Force base.

The are currently more than 28,000 megawatts of solar projects planned for the territory covered by the Electric Reliability Council of Texas, or ERCOT, which covers 90 percent of Texas. Another 34,000 megawatts of wind are under study, while nearly 14,000 megawatts of natural gas generation is under review or development.

Rye Druzin is a San Antonio Express-News energy reporter. Read more of his stories here. | rdruzin@express-news.net | Twitter: @druz_journo