The purpose of this research is to study the structure of a Moroccan consumer's home appliance use and, as a consequence, the different patterns of energy consumption. The data in this study is collected from the open MORED (A Moroccan Building Electricity Dataset) dataset. Machine Learning Algorithms and Data Mining Techniques is employed. The findings of this study enable us to comprehend the behavior of a Moroccan consumer in terms of energy consumption and home appliance use. The Inter-Appliance Association and Peak Hours discovered also will be used to construct an Energy Management System specific to a Moroccan building in the coming years. This can serve to develop the framework for effective Energy Demand Management System (EDMS) while also encouraging end-user participation.