The top-down model of wind farm boundary layers and its applications