Identifying traits for genotypic adaptation using crop models