## 1 Introduction  
In the last decade of industrial progress, the world economy has shifted from cheap energy to expensive fuel consumption. However, industrialization necessitates an increasing amount of energy, which is a condition for humanity's economic prosperity and sustainability [1]. Awareness of the relative constraints of traditional energy resource exhaustion is essential; however, the restricted energy supply from RE sources is necessary. Thus, these two factors have not only a two-fold influence on energy and economic development only, but also on the environment. A cyber-physical system in which electrical components are controlled by a computer and connected to a network of other computer-controlled physical equipment is known as a power grid [2]. The power grid includes the movement of electricity and information between the power grid and control centers [3]. Safe and reliable grid operation requires controlling the energy flow such that the supply and demand can be well balanced in real-time [4]. It is necessary to ensure that information flows as intended as any disruption in information flow will affect the correct conduct of energy flow and the system's safe and dependable functioning [5, 6]. In traditional power networks, the supply and demand balancing are generally achieved by adjusting the output of centralized generating units [5]. When consumption rises, the production must increase to keep up. Similarly, as demand falls, the created production must be reduced [7].  
The power system has witnessed significant modifications in recent years due to the rapid growth of a distributed generation (DG). DG, unlike centralized generators, are mostly weather-dependent and hence have limited controllability to meet demand. Due to their various sizes and network tiers to which they are attached, they also add more unpredictability to the entire operation [8]. Recent environmental worries about growing carbon dioxide emissions (CDE), expanding energy needs, and the liberalization of the electrical industry have drawn the world's attention to renewable energy technology [9]. Although the integration of intermittent RE generation into electrical power systems is still relatively new in the evolution of electrical systems, it is popular all over the world due to its technical advantages such as improved voltage profile, power quality (PQ), voltage stability, reliability and grid support [8]. According to the modern grid initiative study from the United States Department of Energy (USDOE), a modern smart grid (SG) must be capable of self-healing and distributing high-quality power in order to avoid wasting money due to outages [9].  
This study focuses on the uses of a variety of RE sources, including unlimited and other power sources. Moreover, it focuses on conserving energy and spending it wisely following its direction and location. Furthermore, reducing costs by using suitable energy sources depends on prioritizing using a multi-heuristic technique for intelligent power systems. All these processes and data will be saves and controlled by a cloud computing framework using a cloud sim. Cloud computing can be a great addition to any system aiming for an optimal solution for power distribution to reduce cost and waste power and time.