Modelling the influence of electrodes on a lipid monolayer