This paper proposes a way in which cognitive models can be exploited in practical applications in the context of Ambient Intelligence. A computational model is introduced in which a cognitive model that addresses some aspects of human functioning is taken as a point of departure. From this cognitive model relationships between cognitive states and behavioural aspects affected by these states are determined. Moreover, representation relations for cognitive states are derived, relating them to external events such as stimuli that can be monitored. Furthermore, by automatic verification of the representation relations on monitoring information the occurrence of cognitive states affecting the human behaviour is determined. In this way the computational model is able to analyse causes of behaviour.