IDEAS home Printed from https://ideas.repec.org/a/eee/ecomod/v499y2025ics0304380024003144.html
   My bibliography  Save this article

Cracking the code: Linking good modeling and coding practices for new ecological modelers

Author

Listed:
  • Swannack, Todd M.
  • Cushway, Kiara C.
  • Carrillo, Carra C.
  • Calvo, Clementina
  • Determan, Kierra R.
  • Mierzejewski, Caroline M.
  • Quintana, Vanessa M.
  • Riggins, Christopher L.
  • Sams, Miranda D.
  • Wadsworth, Waverly E.

Abstract

Good modeling practices are essential for producing reliable and reproducible ecological models. Inherent to good modeling practices are fundamental coding and documentation skills, which not only implement the desired modeling capabilities but also clearly outline the goals, methods, and components of a model that are necessary to reproduce the desired results. One of the largest challenges for new ecological modelers can be implementing a model into computer code. In fact, coding represents a significant barrier for entry into ecological modeling, since most ecologists have not had formal training in computer science or software development. While software packages do exist that facilitate model development, we have observed that newer modelers still struggle with developing good coding practice throughout the modeling process. During a series of agent-based modeling short-courses and full semester graduate courses, both taught in NetLogo, we identified some common challenges encountered by graduate students and environmental professionals as they learn to code an ecological model, many for the first time. We were able to categorize and provide examples of the main challenges and obstacles, which fell into three main groups that follow the steps of good modeling practice: problem scoping and conceptualization, formulation, and evaluation. We then provide guidance on how to overcome these obstacles while developing good coding and modeling practices that will result in more scientifically defensible models.

Suggested Citation

  • Swannack, Todd M. & Cushway, Kiara C. & Carrillo, Carra C. & Calvo, Clementina & Determan, Kierra R. & Mierzejewski, Caroline M. & Quintana, Vanessa M. & Riggins, Christopher L. & Sams, Miranda D. & W, 2025. "Cracking the code: Linking good modeling and coding practices for new ecological modelers," Ecological Modelling, Elsevier, vol. 499(C).
  • Handle: RePEc:eee:ecomod:v:499:y:2025:i:c:s0304380024003144
    DOI: 10.1016/j.ecolmodel.2024.110926
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0304380024003144
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ecolmodel.2024.110926?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. An, Li & Grimm, Volker & Sullivan, Abigail & Turner II, B.L. & Malleson, Nicolas & Heppenstall, Alison & Vincenot, Christian & Robinson, Derek & Ye, Xinyue & Liu, Jianguo & Lindkvist, Emilie & Tang, W, 2021. "Challenges, tasks, and opportunities in modeling agent-based complex systems," Ecological Modelling, Elsevier, vol. 457(C).
    2. Railsback, Steven F. & Johnson, Matthew D., 2011. "Pattern-oriented modeling of bird foraging and pest control in coffee farms," Ecological Modelling, Elsevier, vol. 222(18), pages 3305-3319.
    3. Hall, Charles A.S. & Knickmeyer, Frances & Wiegman, Adrian & Brainard, Andrew & Diaz, Avriel Rose & Huynh, Carolyn & Mead, Jerry, 2018. "A class exercise for Systems Ecology: Synthesis of stream energetics and testing Allen’s paradox," Ecological Modelling, Elsevier, vol. 369(C), pages 42-65.
    4. Leigh Tesfatsion, 2017. "Modeling economic systems as locally-constructive sequential games," Journal of Economic Methodology, Taylor & Francis Journals, vol. 24(4), pages 384-409, October.
    5. Li An & Alex Zvoleff & Jianguo Liu & William Axinn, 2014. "Agent-Based Modeling in Coupled Human and Natural Systems (CHANS): Lessons from a Comparative Analysis," Annals of the American Association of Geographers, Taylor & Francis Journals, vol. 104(4), pages 723-745, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. An, Li & Grimm, Volker & Sullivan, Abigail & Turner II, B.L. & Malleson, Nicolas & Heppenstall, Alison & Vincenot, Christian & Robinson, Derek & Ye, Xinyue & Liu, Jianguo & Lindkvist, Emilie & Tang, W, 2021. "Challenges, tasks, and opportunities in modeling agent-based complex systems," Ecological Modelling, Elsevier, vol. 457(C).
    2. Chen, Yufeng & Xu, Liyan & Zhang, Xiao & Wang, Zilin & Li, Hailong & Yang, Yansheng & You, Hong & Li, Dihua, 2023. "Socio-econ-ecosystem multipurpose simulator (SEEMS): An easy-to-apply agent-based model for simulating small-scale coupled human and nature systems in biological conservation hotspots," Ecological Modelling, Elsevier, vol. 476(C).
    3. Patrick Mellacher, 2021. "Growth, Inequality and Declining Business Dynamism in a Unified Schumpeter Mark I + II Model," Papers 2111.09407, arXiv.org, revised Nov 2023.
    4. Bindewald, Eckart, 2017. "A survey suggests individual priorities are virtually unique: Implications for group dynamics, goal achievement and ecology," Ecological Modelling, Elsevier, vol. 362(C), pages 69-79.
    5. Kanapaux, William & Kiker, Gregory A., 2013. "Development and testing of an object-oriented model for adaptively managing human disturbance of least tern (Sternula antillarum) nesting habitat," Ecological Modelling, Elsevier, vol. 268(C), pages 64-77.
    6. Grimm, Volker & Berger, Uta, 2016. "Robustness analysis: Deconstructing computational models for ecological theory and applications," Ecological Modelling, Elsevier, vol. 326(C), pages 162-167.
    7. Ascensão, Fernando & Clevenger, Anthony & Santos-Reis, Margarida & Urbano, Paulo & Jackson, Nathan, 2013. "Wildlife–vehicle collision mitigation: Is partial fencing the answer? An agent-based model approach," Ecological Modelling, Elsevier, vol. 257(C), pages 36-43.
    8. Mellacher, Patrick, 2020. "COVID-Town: An Integrated Economic-Epidemiological Agent-Based Model," MPRA Paper 103661, University Library of Munich, Germany.
    9. Yuan, Shiwei & Li, Xin & Du, Erhu, 2021. "Effects of farmers’ behavioral characteristics on crop choices and responses to water management policies," Agricultural Water Management, Elsevier, vol. 247(C).
    10. Abigail Devereaux & Roger Koppl & Stuart Kauffman, 2024. "Creative evolution in economics," Journal of Evolutionary Economics, Springer, vol. 34(2), pages 489-514, April.
    11. Koen de Koning & Tatiana Filatova & Okmyung Bin, 2019. "Capitalization of Flood Insurance and Risk Perceptions in Housing Prices: An Empirical Agent‐Based Model Approach," Southern Economic Journal, John Wiley & Sons, vol. 85(4), pages 1159-1179, April.
    12. Sánchez-Clavijo, Lina M. & Hearns, Jessica & Quintana-Ascencio, Pedro F., 2016. "Modeling the effect of habitat selection mechanisms on population responses to landscape structure," Ecological Modelling, Elsevier, vol. 328(C), pages 99-107.
    13. Pavlović, Boban & Ivezić, Dejan & Živković, Marija, 2022. "Transition pathways of household heating in Serbia: Analysis based on an agent-based model," Renewable and Sustainable Energy Reviews, Elsevier, vol. 163(C).
    14. Jordán, Ferenc, 2022. "The network perspective: Vertical connections linking organizational levels," Ecological Modelling, Elsevier, vol. 473(C).
    15. Linmei Shang & Jifeng Wang & David Schäfer & Thomas Heckelei & Juergen Gall & Franziska Appel & Hugo Storm, 2024. "Surrogate modelling of a detailed farm‐level model using deep learning," Journal of Agricultural Economics, Wiley Blackwell, vol. 75(1), pages 235-260, February.
    16. Radchuk, Viktoriia & Johst, Karin & Groeneveld, Jürgen & Grimm, Volker & Schtickzelle, Nicolas, 2013. "Behind the scenes of population viability modeling: Predicting butterfly metapopulation dynamics under climate change," Ecological Modelling, Elsevier, vol. 259(C), pages 62-73.
    17. Radosavljevic, Sonja & Sanga, Udita & Schlüter, Maja, 2024. "Navigating simplicity and complexity of social-ecological systems through a dialogue between dynamical systems and agent-based models," Ecological Modelling, Elsevier, vol. 495(C).
    18. McLane, Adam J. & Semeniuk, Christina & McDermid, Gregory J. & Tomback, Diana F. & Lorenz, Teresa & Marceau, Danielle, 2017. "Energetic behavioural-strategy prioritization of Clark’s nutcrackers in whitebark pine communities: An agent-based modeling approach," Ecological Modelling, Elsevier, vol. 354(C), pages 123-139.
    19. Giacomo Ravaioli & Tiago Domingos & Ricardo F. M. Teixeira, 2023. "A Framework for Data-Driven Agent-Based Modelling of Agricultural Land Use," Land, MDPI, vol. 12(4), pages 1-17, March.
    20. Jingjie Liu & Min Xia, 2023. "Influencing Factors Analysis and Optimization of Land Use Allocation: Combining MAS with MOPSO Procedure," Sustainability, MDPI, vol. 15(2), pages 1-17, January.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:ecomod:v:499:y:2025:i:c:s0304380024003144. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/ecological-modelling .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.