PBalD8 – a scenario tool for phosphorus mass balances in soils

PBalD8 is a scenario tool, written in C#, which was introduced in the paper of Gustafsson et al. (2023). Here you will be able to download the setup file for the program and a zip file containing the code.

Requirements and setup file

Last updated: 2 May 2023. To run the program you need a Windows computer (Windows 10 or later) and to have Excel installed. The setup file is available from Google Drive through this link. There is also a short guide that can help you get started.

Code

Last updated: 2 May 2023. The C# code is available here if anyone is interested in modifying it for any own purpose. You will need Visual Studio 2022 or later to use the code as such. The code consists of two C# projects: PBalD8_C contains the whole program including the interface, and PBalD8 is just a short version of PBalD8_C but without the interface.

Reference

Gustafsson, J.P., Barbi, F., Braun, S., Klysubun, W., Börjesson, G., 2023. Where does all the phosphorus go? Mass balance modelling of phosphorus in the Swedish long-term soil fertility experiments. Geoderma 440, 116727. https://doi.org/10.1016/j.geoderma.2023.116727