There is a moodlet called good vibes where just being around other people in good moods puts your sim in a good mood. I noticed it today because my sim has been tense all day from a combo of a fire and not having a job so I've been trying to get him to shake the mood with little success. Finally I had him drink one of those emotion potions that little kids make hoping that would do the trick only he said it tasted gross and it put him in an even worse mood. But to drink the potion he went and sat at the table where all his kids were doing their homework. I'd clicked away from him to mess with some other sims in the house and when I want back to him I saw that he was suddenly in a good mood and that's when I read his moodlets and saw the good vibes one. It was like sitting with and watching his kids work had put things in perspective for him and made him feel better. It warmed my heart.