US ethanol producer and commodities company Green Plains Inc (NASDAQ:GPRE) on Wednesday said it has agreed to sell three ethanol plants, accounting for about 20% of its ethanol production capacity, to Valero Renewable Fuels Company LLC.