Invia SMS: Stochastic modelling of membrane filtration