Dynamic flow model for real-time application in wind farm control