Analysis and modeling of agricultural processing with regard to grain post-harvest handling and winemaking