User Tools

Site Tools


tutorial_2-creating_a_compartment_model

Tutorial 2 - Creating a compartment model

1/7

Overview

In this tutorial we will create a simple system consisting of two compartments. After creating the basic objects we will vectorize the model.

Mathematical model

Consider a tank of a fixed volume that contains contaminated water. A “healthy” fish is placed in the tank, and is thus also contaminated. The mass balance for the contaminating substance will then be:

dMwater/dt = -kuptake * Mwater + kexcretion * Mfish
dMfish/dt = -kexcretion * Mfish + kuptake * Mwater
where

Symbol Name Type
kexcretionexcretion rate constantParameter
kuptake uptake rate constant Parameter


Next

References

tutorial_2-creating_a_compartment_model.txt · Last modified: 2024/06/13 17:28 by boris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki