Linking icon-based models to code-based models: a case study with the agricultural production systems simulator