ALMA is a computational model for the real-time simulation of three basic affect types that human beings can experience. ALMA supports several methods to generate affect and it realizes the interference of different affect types. Based on a kind of cognitive appraisal different affect types are simulated in a hierarchical generation process. Hence, the name ALMA, which stands for A Layered Model of Affect.