Overcoming Microsoft Excel's Weaknesses for Crop Model Building and Simulations

Christopher Teh Boon Sung
{"title":"Overcoming Microsoft Excel's Weaknesses for Crop Model Building and Simulations","authors":"Christopher Teh Boon Sung","doi":"10.4195/jnrlse.2010.0024","DOIUrl":null,"url":null,"abstract":"<p>Using spreadsheets such as Microsoft Excel for building crop models and running simulations can be beneficial. Excel is easy to use, powerful, and versatile, and it requires the least proficiency in computer programming compared to other programming platforms. Excel, however, has several weaknesses: it does not directly support loops for iterative calculations, and it does not allow one cell to alter the contents of another cell. Thus, the objective of this study was to develop an Excel add-in, called BuildIt, that overcomes some of Excel's weaknesses by: (1) providing a loop for repetitive calculations and (2) providing several operations (called actions) typically needed in building crop models. These actions are such as for numerical integration, initialization of variables, and solving differential equations using the Runge-Kutta method, as well as for copying and manipulation of cell ranges. BuildIt was written in Excel's script language, Visual Basic for Applications (VBA), but it does not require users to program in VBA to build their models. Several examples of models were used in this article to illustrate how BuildIt implements the infrastructure in Excel, and how it can be used to build models and run model simulations. With BuildIt, users are able to use Excel to build and run their mathematical models, without requiring any knowledge in VBA.</p>","PeriodicalId":100810,"journal":{"name":"Journal of Natural Resources and Life Sciences Education","volume":"40 1","pages":"122-136"},"PeriodicalIF":0.0000,"publicationDate":"2011-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.4195/jnrlse.2010.0024","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Natural Resources and Life Sciences Education","FirstCategoryId":"1085","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.4195/jnrlse.2010.0024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Using spreadsheets such as Microsoft Excel for building crop models and running simulations can be beneficial. Excel is easy to use, powerful, and versatile, and it requires the least proficiency in computer programming compared to other programming platforms. Excel, however, has several weaknesses: it does not directly support loops for iterative calculations, and it does not allow one cell to alter the contents of another cell. Thus, the objective of this study was to develop an Excel add-in, called BuildIt, that overcomes some of Excel's weaknesses by: (1) providing a loop for repetitive calculations and (2) providing several operations (called actions) typically needed in building crop models. These actions are such as for numerical integration, initialization of variables, and solving differential equations using the Runge-Kutta method, as well as for copying and manipulation of cell ranges. BuildIt was written in Excel's script language, Visual Basic for Applications (VBA), but it does not require users to program in VBA to build their models. Several examples of models were used in this article to illustrate how BuildIt implements the infrastructure in Excel, and how it can be used to build models and run model simulations. With BuildIt, users are able to use Excel to build and run their mathematical models, without requiring any knowledge in VBA.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
克服Microsoft Excel在作物模型构建和模拟方面的弱点
使用电子表格(如Microsoft Excel)来构建裁剪模型和运行模拟是有益的。Excel易于使用,功能强大,用途广泛,与其他编程平台相比,它对计算机编程的熟练程度要求最低。然而,Excel有几个缺点:它不直接支持循环迭代计算,也不允许一个单元格改变另一个单元格的内容。因此,本研究的目的是开发一个名为BuildIt的Excel插件,通过以下方式克服Excel的一些弱点:(1)提供重复计算的循环,(2)提供构建作物模型通常需要的几个操作(称为操作)。这些操作包括数值积分、变量初始化、使用龙格-库塔方法求解微分方程,以及复制和操作单元格范围。它是用Excel的脚本语言Visual Basic for Applications (VBA)编写的,但它不需要用户用VBA编程来构建模型。本文中使用了几个模型示例来说明BuildIt如何在Excel中实现基础结构,以及如何使用它来构建模型和运行模型模拟。有了BuildIt,用户可以使用Excel来构建和运行他们的数学模型,而不需要VBA中的任何知识。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Corn Rootworm: Small Insect, Big Impact Assessing Student Learning with Surveys and a Pre-Test/Post-Test in an Online Course Student Presentations of Case Studies to Illustrate Core Concepts in Soil Biogeochemistry Using Student Competition Field Trips to Increase Teaching and Learning Effectiveness JNRLSE Editorial Board Minutes for 2011
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1