A model for the turbulent energy spectrum