Optimization of solar drying systems