In this and the following section, we describe the standard compartment model, some nonstandard extensions to it, the underlying mathematics and the corresponding numerical treatment. In Section 3.2-3.5 we show what kind of natural processes can be described by compartment models, and we give some examples for their use.