top of page

MEDIALAB

MEDIALAB (Modeling Early DIAgenesis using MATLAB) is an open-source early diagenesis model, which calculates concentrations and fluxes of chemical species as well as rates of all the biogeochemical pathways at each depth of aquatic sediments for a specific time period. It is maintained by the Applied System Analysis group at Swiss Federal Institute of Water Science and Technology (EAWAG). 

A system of partial differential equations corresponding to early diagenesis equations are automatically generated through MATLAB’s symbolic programming capabilities and solved using MATLAB’s built-in solver pdepe to evaluate the temporal and spatial distribution of chemical species.

​

Download the source code below for free.

bottom of page