Abstract : We propose a computational model for the Component Process Model (CPM) of Scherer, the most recent and the most complete model of emotion in psychology. This one proposes to appraise a stimulus through a sequence of sixteen appraisal variables dealing with a large number of its characteristics. As CPM is very abstract and high level, it is not really used in affective computing and no formal models exist for its appraisal variables. In this paper we propose two mathematical functions for two appraisal variables detecting the familiarity of a perceived event and its goal relevance, according to the state of the cognitive component of an agent (goals, needs, semantic memory, and episodic memory).