|
|
||||||||
ICRISAT, Sahelian Center, B.P. 12404, Niamey, Niger (via Paris);
Dep. of Crop and Soil Sciences, Washington State Univ., Pullman, WA 99164-6420.
* Corresponding author.
Simulation of whole agricultural systems is now widely used in agronomy. Construction and maintenance of the large simulation models quired for agricultural systems may benefit from the application of mo ern programming methods. In particular, object-oriented programming (OOP) methods claim several advantages over conventional procedural methods. We sought a programming approach that would allow (i) interchanging of component models within and between whole-system models, (ii) incremental model building without rewriting existing code, (iii) maintenance of more than one model of a component, and (iv) construction of a user-friendly interface from which all parameters can be assigned and component models run. Here we report results of an experiment in which we used OOP to construct a cropping system model called CropSyst. An OOP analysis of cropping systems led to the abstraction of component systems (objects) with minimal and well-defined interfaces. Examples of components, or objects, used in CropSyst are Time, Weather, Crop, Soil, Crop residue, Tillage, Erosion, Aphid population, Aphid immigration, Pesticide application, Planting, Crop rotation, and Output. Different versions of CropSyst were implemented and used to simulate production and erosion for cropping systems in eastern Washington, and to simulate yield loss and pesticide dynamics associated with Russian Wheat Aphid infestation. These were constructed from existing objects. Different versions of the Crop object simulated the different crops in a rotation cycle. Parameters were assigned and models we run from a commercially supplied user interface, which was also proggrammed using OOP. We were able to meet our objectives using OOP, and found it useful for construction and maintenance of agricultural systems models.
Received for publication July 24, 1993.
This article has been cited by other articles:
![]() |
W. L. Bauerle, D. J. Timlin, Y. A. Pachepsky, and S. Anantharamu Adaptation of the Biological Simulation Model MAESTRA for Use in a Generic User Interface Agron. J., January 5, 2006; 98(1): 220 - 228. [Abstract] [Full Text] [PDF] |
||||
![]() |
X. Mi, Y. Zou, and W. Wei The Model-Document-View Architecture and Its Application in Visual Rice Growth Model Agron. J., November 1, 2003; 95(6): 1432 - 1441. [Abstract] [Full Text] [PDF] |
||||
![]() |
G. Fila, G. Bellocchi, M. Donatelli, and M. Acutis IRENE_DLL: A CLASS LIBRARY FOR EVALUATING NUMERICAL ESTIMATES Agron. J., September 1, 2003; 95(5): 1330 - 1333. [Abstract] [Full Text] [PDF] |
||||
![]() |
B. Acock, Y. A. Pachepsky, E. V. Mironenko, F. D. Whisler, and V. R. Reddy Guics: A generic user interface for on-farm crop simulations Agron. J., July 1, 1999; 91(4): 657 - 665. [Abstract] [Full Text] [PDF] |
||||
| HOME | HELP | FEEDBACK | SUBSCRIPTIONS | ARCHIVE | SEARCH | TABLE OF CONTENTS |
| The SCI Journals | Crop Science | Vadose Zone Journal | |||
| Journal of Natural Resources and Life Sciences Education |
Soil Science Society of America Journal | ||||
| Journal of Plant Registrations | Journal of Environmental Quality |
The Plant Genome | |||