Modelling a biosensor based on the heterogeneous microreactor