1. A method of determining energy consumption using node similarity, the method carried out by program code stored on non-transient computer-readable medium and executed by a processor, the method comprising: creating a node structure for a node under consideration, the node structure including a plurality of nodes in a containment hierarchy defined by a child-parent relationship between the plurality of nodes in the node structure; assigning a similarity score to the plurality of nodes in the node structure using at least one of: domain based rules, and attribute based similarity metrics; identifying a similar node in an other node structure based on the similarity score; and determining energy consumption of the node under consideration based on energy consumption of the similar node in the other node structure.