Mixing problems
These examples show how to model mixing problems in psymple
. A mixing problem seeks to understand the evolution of a quantity of solvent in a solute, for example a chemical being mixed in a tank of water. These problems can be highly varied, for example solution can enter a tank at variable concentration or rate, or leave the tank at variable rate. Alternatively, several tanks can be connected together, with their solutions being pumped into each other.
These examples first consider the problem for a single tank, and then the problem for many arbitrarily linked tanks.
In all examples, the core assumption is that tanks are well-mixed, that is, the concentration of the solute is the same throughout the tank at any moment in time.
-
Single tank
Modelling concentrations in a single tank.
-
Multiple tanks
Modelling concentrations in multiple tanks with arbitrary links.