Modelling of wind turbine arrays