The more a person feels skilled, the more her moods will improve; while the more challenges that are present, the more her attention will become focused and concentrated.
If we know what that set point is, we can predict fairly accurately when you will be in flow, and it will be when your challenges are higher than average and skills are higher than average.