Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
10370986 | Environmental Modelling & Software | 2005 | 5 Pages |
Abstract
The need for better collaboration among scientists and different existing environmental models makes it necessary to find efficient ways of using and reusing functionalities or services provided by third parties. New advances in software engineering can be successfully used to develop environmental models that use an enabling architecture for a “plug and play” approach. In this study, the Kraalingen crop simulation model was used to demonstrate the concept and feasibility of the “plug and play” architecture for crop simulation models. Strategy and Factory design patterns are used as the basis for the “plug and play” approach. In addition to design patterns, Java's reflection was used to dynamically instantiate the appropriate Strategy instance. This paper focuses only on the issues dealing with design and implementation of the “plug and play” architecture. This architecture was successfully tested using several components providing polymorphic behavior in the Kraalingen model. Components for obtaining weather data from different sources were plugged into the system without requiring changes to the code. This approach creates the necessary technical environment for scientists to focus on what they know the best, save time and effort and subsequently, increase the cross-disciplinary interaction for creating better models.
Related Topics
Physical Sciences and Engineering
Computer Science
Software
Authors
Petraq Papajorgji,