Transport modelling of L - H transition and barrier formation