I have worked or been associated with the computer and electronics fields for pretty much my entire adult life. I believe most emotional regualtion can be identified with flow charts, including happiness.
You begin with the issue / emotion to be addressed and continue downward with the gates to the next step just like the comic above humorously depicts.
Breaking down issues to small bites and plugging in the steps to a flowchart will allow a logical progression to your "happy place".
I am IN my happy place, sometimes I forget how awesome life is - just like we all do.... but, I always return to the flowchart to reconnect the pathways and continue on in a POSITIVE flow!