Login | DPI Staff queries on depositing or searching to era.daf.qld.gov.au

APSIM next generation: The final frontier?

Share this record

Add to FacebookAdd to LinkedinAdd to XAdd to WechatAdd to Microsoft_teamsAdd to WhatsappAdd to Any

Export this record

Holzworth, D., Huth, N. I., Fainges, J., Herrmann, N. I., Zurcher, E., Brown, H., Snow, V., Verrall, S., Cichota, R., Doherty, A., deVoil, P., McLean, G. and Brider, J. (2015) APSIM next generation: The final frontier? In: 21st International Congress on Modelling and Simulation: Partnering with Industry and the Community for Innovation and Impact through Modelling, MODSIM 2015 - Held jointly with the 23rd National Conference of the Australian Society for Operations Research, 29 November - 4 December 2015.

Full text not currently attached. Access may be available via the Publisher's website or OpenAccess link.

Abstract

For twenty four years, the Agricultural Production Systems sIMulator (APSIM) has grown from a farming systems framework used by a small number of people, into a large collection of models used by many thousands of modellers internationally. The software consists of many hundreds of thousands of lines of code in 6 different programming languages. The models are connected to each other using a 'common modelling protocol'. This infrastructure has successfully integrated a diverse range of models but isn't capable of easily meeting the challenges outlined above. For these reasons, the APSIM Initiative has begun developing a next generation of APSIM (dubbed APSIM Next Gen) that is written from scratch and designed to 'run anywhere'. The new framework incorporates the best of the APSIM 7.7 framework with an improved supporting framework. C# was chosen as the programming language and together with MONO, the models and user interface run on Windows, LINUX and OSX. The Plant Modelling Framework (a generic collection of plant building blocks) was ported from the existing APSIM to bring a rapid development pathway for plant models. The user interface paradigm has been kept the same as the existing APSIM version, but completely rewritten to support new application domains and the newer Plant Modelling Framework. The ability to describe experiments has been added which can also be used for rapidly building factorials of simulations. The ability to write C# and VB.NET scripts to control farm and paddock management has been retained. Finally, all simulation outputs are written to an SQLite database to make it easier and quicker to query, filter and graph outputs. The software engineering process has also been significantly improved. We have adopted GitHub to host the APSIM Next Gen. repository and have built a workflow around it involving feature branches, pull requests for peer-review of code and science reviews for major tasks. We have improved the testing regime and are building validation data sets for all models. These datasets are re-generated every time there is a change to APSIM and regression statistics are compared with previously accepted values. This improves the likelihood of detecting unexpected changes to model performance when a developer commits new changes. We have also enhanced the way we document all models by auto-generating all documentation from the validation tests and from using reflection to examine comments in the source code. The result is a nicely formatted PDF that describes a model and presents its validation, with regression statistics, graphically. This paper explores each of the design decisions outlined above and discusses why the decision was made to 'start from scratch'.

Item Type:Conference or Workshop Item (Paper)
Business groups:Biosecurity Queensland
Keywords:Agricultural modelling APSIM Model Agriculture Codes (symbols) Computer operating systems Models Operations research Query processing Agricultural production system Building blockes Model performance Number of peoples Simulation outputs Software engineering process User interface paradigm User interfaces
Live Archive:22 Dec 2021 03:32
Last Modified:22 Dec 2021 03:32

Repository Staff Only: item control page