Modelling and simulation of affinity membrane adsorption