*1.2. Contributions*

In this work (an extension of [14]), we have proposed and implemented the Consumer to Fog to Cloud (C2F2C) based framework for efficient resource management in residential buildings. Our main contributions are described as below:


The remainder of the manuscript is summarized as follows. In Section 2, literature review is discussed along with the existing limitations. Section 3 describes the proposed system model and simulation results are elaborated in Section 4. Finally, the conclusion and future challenges are described in Section 5.

#### **2. Literature Review**

In order to subsist the intensive demand of the electricity, different methodologies have been studied from existing work. These methodologies are categorized based on their proposed architectures: (1) methodologies for cloud based architecture and (2) methodologies for fog based architecture. So, the techniques for energy management in SG using cloud computing have been discussed first then the techniques for energy management in SG using fog computing have been discussed.
