Green Plains Inc. has completed the previously announced sale of its three ethanol plants to Valero Renewable Fuels Company LLC for $319 millionin cash, including net working capital and other adjustments.