Parameterisation of the planetary boundary layer for diagnostic wind models