Skip to Content
Applied SciencesApplied Sciences
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

13 September 2026

Extension of a Crop Modeling Framework for Building User and Programming Interfaces

and
1
Graduate School of Culture Technology, Korea Advanced Institute of Science and Technology, Daejeon 34141, Republic of Korea
2
Department of Smart Farm, Jeonbuk National University, Jeonju 54896, Republic of Korea
*
Author to whom correspondence should be addressed.
Appl. Sci.2026, 16(18), 9081;https://doi.org/10.3390/app16189081 
(registering DOI)
This article belongs to the Section Agricultural Science and Technology

Abstract

Crop models are increasingly incorporated into web applications, but their user and programming interfaces are often developed separately from the model implementation. We extended Cropbox, a crop modeling framework written in Julia, to derive both interfaces from model declarations written in its domain-specific language (DSL). The describe() function extracts model structure and declared metadata. The serve() function uses this description to expose simulation and visualization operations through HTTP routes. The dashboard() function constructs a web user interface from the same contract. The implementation was examined with chilling–forcing phenology, coupled gas exchange, and a whole plant crop model. A Model Context Protocol (MCP) adapter connected the same service to a local large language model (LLM). The applications reproduced direct simulation results through the service and supported interactive model exploration. These results demonstrate a shared basis for building user and programming interfaces from model declarations.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.