Investigating the effect of design patterns on energy consumption · Study