A Dallas pipeline company and one of the world's largest beer brewers are signing up to buy electricity produced by two large solar farms in West Texas.

Energy Transfer and Anheuser-Busch inked 15-year deals Tuesday to buy power from the combined 2,200-acre farms to be built in Pecos County by Recurrent Energy, the U.S. development arm of Canadian Solar Inc. The farms, near the towns of Fort Stockton and McCamey, are the size of 1,600 football fields and will produce 650 gigawatt hours of energy a year -- enough to power 62,000 homes.

Once the farms are completed in 2021, Anheuser-Busch said it will buy credits based on the energy being delivered to the grid. Those credits will offset electricity the St. Louis-based company uses at its 22 U.S. breweries and will be the equivalent of brewing 20 billion 12-ounce servings of beer.

Financial details of the deals weren't disclosed.

Shawn Qu, Canadian Solar's chairman, described the deal with Energy Transfer as a "marquee transaction."

"Insiders of the renewable energy industry know well that solar [power purchase agreements] often help corporations lock in low-cost electricity prices to power their operations," Qu said. "However, it is rewarding in 2019 to also see valued partners from the traditional energy sector like Energy Transfer view a purchase ... as a financially sensible decision."

David Coker, Energy Transfer's vice president of power optimization, said the deal makes "economic sense" for the company that primarily relies on natural gas-produced electricity to power its more than 86,000 miles of pipelines in 38 states.

"The percentage of electrical energy we purchase that originates from solar and wind sources is now more than 20 percent on any given day with the addition of this contract," he said.

Electricity produced by solar is a growing category in Texas, though it remains fractionally small compared with the top producers -- natural gas, wind and coal, according to ERCOT, the state's grid operator. Solar accounted for about 1.5% of electricity generated in Texas in April.

Anheuser-Busch President and CEO Michel Doukeris said the beermaker is committed to alternative energy sources "because of a strong belief that ... it's good for business, it's good for society and we all need to play an important role in the environment."

Anheuser-Busch has a similar energy purchase agreement with an Oklahoma wind farm that opened in 2017. It's part of a commitment made by the company's parent, Belgium-based Anheuser-Busch InBev, to have 100% of its purchased electricity be from renewable sources by 2025.

Other beverage companies like Danish brewer Carlsberg Group and London-based Diageo, which makes Guinness and various spirits, are also increasing their reliance on renewable energy. And Anheuser-Busch rival MillerCoors says its Irwindale, Calif., facility has the largest solar installation of any U.S. brewery. MillerCoors is aiming to reduce carbon emissions from its operations by 50% by 2025.

Recurrent Energy said it's also in the early stages of seeking equity partners for the project.

The Associated Press also contributed to this story.

Note: This story has been updated to note that the solar project involves two farms, rather than one.