Text this: Stochastic modelling of membrane filtration