Designing crop management systems by simulation