Modelling charge transport lengths in heterojunction solar cells