Multilevel emotion modeling for autonomous agents