BYOM walkthrough DEBtox_classic package
- Author: Tjalling Jager
- Date: November 2021
- Web support: http://www.debtox.info/byom.html
Step-by-step walk through the code of the BYOM DEBtox_classic package. This is the DEBtox formulation following Jager & Zimmer (2012), which in 2019 was updated. The update is available in the DEBtox2019 package.
This walk through is made with the 'publish' option in Matlab, which might also be very convenient to keep track of your work (as a modeller's log book). This walk through consists of the following files:
- byom_debtox_daphnia.m: example file for effects of fluoranthene on Daphnia magna.
- byom_debtox_daphnia_auto.m: same data set as previous one, but a tricked-out analysis with new helper function, and demonstrating the parameter-space explorer.
- derivatives.m: the actual model in the form of a system of ordinary differential equations (ODEs).
- call_deri.m: calls derivatives.m or simplefun.m to calculate the model output. Here, the model output can be transformed to match the data, if needed.
- pathdefine.m: a piece of code that searches for the engine directory, and adds it to the Matlab path. No need to make changes here, just make sure it is in every directory from which you run BYOM scripts.