: There are several approaches to emotions in AI, most of which are inspired by human emotional states and their arousal mechanisms. These approaches usually use high-level models of human emotions that are too complex to be directly applicable in simple artificial systems. It seems that a new approach to emotions, based on their functional role in information processing in mind, can help us to construct models of emotions that are both valid and simple. In this paper, we will try to present a model of emotions based on their role in controlling the attention. We will evaluate the performance of the model and show how it can be affected by some structural and environmental factors.