CROPSYST - A COLLECTION OF OBJECT-ORIENTED SIMULATION-MODELS OF AGRICULTURAL SYSTEMS

被引:41
|
作者
VAN EVERT, FK [1 ]
CAMPBELL, GS [1 ]
机构
[1] WASHINGTON STATE UNIV, DEPT CROP & SOIL SCI, PULLMAN, WA 99164 USA
关键词
D O I
10.2134/agronj1994.00021962008600020022x
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
Simulation of whole agricultural systems is now widely used in agronomy. Construction and maintenance of the large simulation models required for agricultural systems may benefit from the application of modern 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 were run from a commercially supplied user interface, which was also programmed using OOP. We were able to meet our objectives using OOP, and found it useful for construction and maintenance of agricultural systems models.
引用
收藏
页码:325 / 331
页数:7
相关论文
共 50 条