Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

IoT-based Energy Optimization and Demand

Response System for Renewable Energy Integration


Koushik Dewri and Mohammad Rejwan Uddin
Fab Lab IUB
Independent University, Bangladesh
Dhaka, Bangladesh
Email: koushikdewri33@gmail.com ; rejwan@iub.edu.bd

Abstract—The integration of renewable energy sources into the addresses the problem by optimizing energy consumption
existing power grid presents opportunities and challenges for based on real-time renewable energy availability.
energy optimization and demand response. This project Lack of energy efficiency: many buildings and
proposes an IoT-based energy optimization and demand
systems consume energy inefficiently, leading to
response system aimed at effectively utilizing renewable energy
and optimizing energy consumption. The system employs a
unnecessary energy wastage. In order to minimize power
network of sensors and actuators to collect real-time data on losses in the power distribution network, wireless power
energy consumption, environmental conditions, and renewable transmission has been known for centuries to clean sources
energy generation. This data is processed and analyzed using of electricity [3].
energy optimization algorithms to identify opportunities for Inadequate demand response: This is a system that
energy efficiency and demand response strategies. The system can work with computing devices, digital and mechanical
enables intelligent control of energy-consuming devices based machines, objects, and living creatures [6].By incorporating
on optimization algorithms, facilitating load balancing, demand response strategies, the project aims to manage
demand forecasting, and peak shaving. Additionally, it
energy consumption during peak periods and ensure the
incorporates demand response techniques such as load
shedding and load shifting to adapt energy consumption to grid efficient utilization of available energy resources.
conditions and maximize the utilization of renewable energy Other advantages of a photo Voltaic systems are: free
sources. The system is integrated with wireless communication energy, reliable power reliability, and quick installation
modules for IoT connectivity, allowing remote monitoring, [4].This project addresses these limitations by implementing
control, and data exchange with a central server or cloud iot-based monitoring and control mechanisms.
platform. Optimizing operation cost and reducing carbon
emissions in smart grids with integrated renewable energy
Keywords— Renewable, Optimization, Consumption, demand, sources (RESs) has been a focus of research. In Bangladesh,
environmental, Utilization, load-shedding, customizable, the renewable energy sector mainly consists of solar, wind
integration. and biomass energies [5]. Different power conversion
I. INTRODUCTION stages, energy transmission paths, emissions, and a systems
response corresponding to the driver’s profile are analyzed
The transition towards sustainable energy sources systematically [1].
is a global imperative, and the integration of renewable The model employs a multi-objective genetic
energy systems into various sectors has gained significant algorithm (MOGA) to simultaneously minimize cost and
attention. Sectors such as residential, commercial, and emissions. A prototype of this charger is built and compared
industrial play pivotal roles in shaping energy consumption with a conventional charger [2]. By using Pareto optimal
patterns.Approximately 25 billion devices will be connected fronts, it identifies solutions that balance cost-efficiency and
to the Internet by 2020 and the data collected through these environmental sustainability. Results show a 24% reduction
connections will help in big data analysis, planning and in operation cost and 28% reduction in carbon emissions
management of data with autonomous intelligent decision- compared to existing models, demonstrating the
making (Ray 2018) [8]. effectiveness of the proposed approach [12].
Previous research has explored mathematical
models, predictive tools like probability density functions
and Monte Carlo simulations, and incentive-based payment
systems in DRPs. These tools provide insights into
renewable source behavior and encourage load shifting.
Overall, optimizing smart grids with RESs and DRPs offers
promising solutions for cost-efficiency and sustainability
[13].

Fig. 1. Solar cell house installer hybrid component system for


II. PROPOSED SYSTEM METHODOLOGYAND SIMULATION
smarthome solar panel inverter The project aims to design and implement an IoT-
based Energy Optimization and Demand Response System
Intermittency of renewable energy: renewable that seamlessly integrates renewable energy sources, such as
energy sources such as solar and wind power exhibit solar panels, with conventional energy sources. The system
inherent intermittency, making it challenging to efficiently utilizes the ESP32 microcontroller along with the Current
integrate them into the power grid [9][10][11]. This project Sensor ACS712 30A and Voltage Sensor Module DC 0-25V
to monitor real-time energy consumption and generation. It
also includes control mechanisms for smart devices like a
fan and light, enabling users to actively manage their energy
usage and participate in demand response programs.

Fig. 4. System design and simulation of our project with Proteus

The Voltage Sensor Module DC 0-25V is


connected to the ESP32's ADC1 pin, which reads the
voltage generated by the solar panel.The Current Sensor
ACS712 30A is connected to the ESP32's ADC2 pin, which
reads the current flowing through the system.The ESP32
processes the sensor data to calculate the real-time power
generated by the solar panel using the formula:

Fig. 2. Block Diagram of our project


P_solar = V_solar * I_solar
Hardware Setup: The system hardware consists of Pin (W) - Input Power: Pin = VPV × IPV
an ESP32 microcontroller, Current Sensor ACS712 30A, Po (W) - Output Power: Po = Vb × Ib
Voltage Sensor Module DC 0-25V, a fan, light, solar panel Po
η (%) - Efficiency: ×100
with a solar stand, and a battery. The ESP32 acts as the Pin
central control unit, interfacing with sensors and smart VPV is the solar panel voltage (V) at a specific time.IPV is
devices. the solar panel current (A) at a specific time.Vb is the battery
voltage (V) at a specific time.Ib is the battery current (A) at
a specific time.Pin is the input power (W) of the solar
panel.Po is the output power (W) of the battery.η is the
efficiency (%) of the system.
The solar panel voltage (VPV) shows an upward trend from
19V in the morning to 25V around midday. In contrast, the
battery voltage (Vb) slightly decreases from 13.5V to 12.2V
during the same period.
Both the solar panel current (IPV) and battery current (Ib)
exhibit a declining trend as the day progresses, following the
pattern of decreasing sunlight intensity.
Calculated input power (Pin), derived from the product of
VPV and IPV, varies from 19.2W to 34.2W. Conversely,
output power (Po), obtained by multiplying Vb and Ib,
decreases from 6.75W to 0.125W.
The system's efficiency (η) is calculated by dividing Po by
Pin and then multiplying by 100. Efficiency ranges from
0.6% to 19.7%.

Energy Optimization Algorithm: The energy


optimization algorithm, implemented on the ESP32, uses the
analyzed data to optimize energy consumption and
Fig. 3. Flowchart of our project utilization of renewable energy sources [15]. It dynamically
IoT Sensors and Data Collection: The Current adjusts energy loads and renewable energy generation to
Sensor ACS712 30A and Voltage Sensor Module DC 0-25V minimize energy costs and maximize the use of clean
are used to measure the current and voltage levels of the energy.
energy flowing through the system. The ESP32 reads data Demand Response Implementation: The ESP32
from these sensors and sends it to the cloud for further enables the implementation of demand response strategies.
analysis. Based on real-time data and demand response signals from
utility companies, the system triggers actions to shift energy
consumption from peak to off-peak hours. By implementing
a renewable energy source to run those motors can save communication link's integrity was verified through serial
energy from national grid [7]. communication monitoring.
Renewable Energy Integration: The system
integrates the solar panel and battery into the energy grid.
The ESP32 monitors the output of the solar panel and
battery charge levels to ensure efficient utilization of
renewable energy sources [16].
Control and Actuation: The ESP32 acts as the
control center, executing the energy optimization algorithm
and managing demand response actions [17]. It
communicates with the fan and light to adjust their energy
consumption patterns according to demand response signals
and energy availability.
User Interface and Mobile Application: A user-
friendly mobile application is developed to provide end- Fig. 5. Prototype hardware development for testing purposes
users with real-time insights into their energy usage, cost,
and carbon footprint. The application allows users to control Control Module Functionality: The Smart Fan and
the fan and light and participate in demand response Smart Light control modules underwent extensive testing to
programs. ascertain their response to commands sent by the ESP32.
Communication and Connectivity: The ESP32 uses Fan speed modulation and light intensity control were
various communication protocols, such as Wi-Fi and evaluated.
MQTT, to establish connections with sensors, smart devices, Solar Controller Integration: The Solar Controller
and the cloud platform[18]. This enables real-time data was integrated into the system, and its ability to manage
exchange and remote control of devices. solar power contribution to the grid was evaluated under
Results and Analysis: The project evaluates the varying load conditions.
system's performance through real-world testing. It
measures energy savings, cost reduction, and the impact on
carbon emissions. The results are analyzed to assess the
effectiveness of the IoT-based energy optimization and
demand response system.
The conclusion summarizes the achievements of
the project and highlights the benefits of the proposed
system in optimizing energy usage, promoting renewable
energy integration, and enabling demand response
capabilities [19]. It discusses the potential for wider
adoption and future enhancements of the system.
Fig. 6. Marge all components
III. HARDWARE DEVELOPMENT AND TESTING
IV. PERFORMANCE ANALYSIS AND DISCUSSION
A comprehensive table of specifications was
prepared outlining the technical characteristics of each The successful implementation of the "IoT based
component involved. This facilitated a clear understanding Energy Optimization and Demand Response System for
of their capabilities and compatibility. Renewable Energy Integration" presents promising
advancements in the field of sustainable energy
TABLE I. COMPONENT SPECIFICATIONS management. This section critically evaluates the system's
performance and discusses its implications.
Component Model/Type MeasurementRang Accuracy
e

Current Sensor ACS712 30A -30A to 30A ±0.5A

Voltage Sensor DC 0-25V 0V to 25V ±0.1V


Module

ESP32 ESP32 Dev


Microcontrolle Kit
r

Lab Testing Details:


Fig. 7. ThingSpeak channel live data stream
Current and Voltage Sensor Calibration: The
ACS712 30A and Voltage Sensor Module were calibrated Energy Optimization: The system's primary
using standard current and voltage sources to ensure precise objective of energy optimization was evaluated under
measurement accuracy. various scenarios [20]. By intelligently analyzing real-time
ESP32 Communication Check:The ESP32 was data from current and voltage sensors, the ESP32 effectively
programmed to acquire data from the sensors. The controlled the operation of connected devices. This resulted
in reduced energy consumption during peak hours and
enhanced utilization of renewable energy sources. The technology with renewable energy integration and demand
system's ability to seamlessly shift loads based on demand response strategies. By optimizing energy consumption
response strategies was a significant achievement. The patterns, leveraging renewable resources, and implementing
achieved reduction in energy consumption by an average of demand response mechanisms, the project provides a
20% during peak hours is indicative of the system's tangible solution for sustainable energy management.
effectiveness [21]. Challenges and potential avenues for further improvement
were illuminated, emphasizing the project's role in fostering
TABLE II. DAILY POWER GENERATION SCHEME FROM SOLAR. environmentally friendly practices and economic feasibility.
VPV Vb IPV Pin Po Through this endeavor, the project underscores the power of
Time Ib (A) η (%)
(V) (V) (A) (W) (W) technology in shaping a more sustainable and responsive
8am 22.5 12.8 0.85 1.1 18.223 1.0 5.47 energy ecosystem.
9am 20 12.5 0.87 0.96 19.011 0.92 4.90
10am 21.6 12.3 0.87 0.89 20.878 0.81 4.45
11am 23 12.1 0.89 0.81 21.921 0.77 3.89
References
12pm 24.5 11.8 0.94 0.77 22.901 0.67 3.11
[1]. Khizir M.,Mohammad H., M. Shidujaman,Sayidul M.& Günnur
1pm 25 11.5 0.97 0.70 23.101 0.61 2.78
Koçar. “A Heuristic Approach to Design and Analyze the Hybrid
2pm 23.5 11.1 0.98 0.65 23.991 0.52 2.03
Electric Vehicle Powertrain and Energy Transmission Systems.”
Lecture Notes in Computer Science,12 July 2016.
Demand Response Integration: The integration of
demand response mechanisms was a key highlight. The [2]. Khosru M. Salim, Md. Jasim Uddin, M. Ishtiaque Rahman,
Mohammad Rejwan Uddin, "Design, Construction and
system's real-time analysis of energy demand, combined Implementation of a Highly Efficient, Lightweight and Cost-
with predictive algorithms, enabled proactive load shifting. Effective Battery Charger for Electric Easy Bikes", ICDRET, 7-9
By automatically adjusting device operation schedules, the January 2016, Dhaka, Bangladesh.
system demonstrated its potential to mitigate energy demand
[3]. H. Samani, M. Shidujaman. “Wireless Power Transmission
during grid stress periods [22]. This not only reduces Trends.“IEEE,23-24 May 2014.
operational costs for consumers but also contributes to grid [4]. M. Rejwan Uddin.” Design, Implementation and Cost Analysis of
stability. a Solar Powered Water Pump for Multistoried Building. “3rd
Renewable Energy Integration: The integration of International Conference on Green Energy and Technology
solar panels and batteries played a pivotal role in the (2015), dog- https://doi.org/10.1109/ICGET.2015.7315110.
system's success. The solar panels' energy generation was [5]. Iftekhar Zaman Arnab, Tausif Ali, M. Shidujaman, Md. Mayen
optimized based on sunlight availability and connected load Hossain. “Consideration of Environmental Effect of Power
requirements [23]. Excess energy was intelligently diverted Generation: Bangladesh Perspective” Energy and Power
to charge the batteries, which were subsequently utilized Engineering, 2013, 5, 1521-1525
during non-sunlight hours. The achieved synchronization of [6]. M. Rejwan Uddin, P. Das, M. Hasan Rafi, M. Ahsan and M.
energy generation and consumption reduced reliance on Hasan, "Cloud-Based Solar-Powered Remote Sensing and
non-renewable energy sources. Monitoring for Severely Ill Patients Vitals to Ensure Appropriate
Performance Validation: To validate the system's Treatment and Medical Team Safety," 2022 4th International
Conference on Sustainable Technologies for Industry 4.0 (STI),
performance, extensive testing was conducted in a Dhaka, Bangladesh, 2022, pp. 1-5, doi:
controlled laboratory environment. The accuracy of current 10.1109/STI56238.2022.10103327.Shivaji K., RitulaT. “Efficient
and voltage sensors was verified, ensuring precise energy monitoring and control of wind energy conversion systems using
measurement [24]. Additionally, the response of control Internet of things (IoT).” Environment, Development and
Sustainability, 14197–14214 (2021).
modules such as fans and lights to ESP32 commands was
consistently reliable [25]. The IoT platform enabled remote [7]. .M. R. Uddin, M. R. Hossen and K. M. Salim, "Design,
monitoring, providing real-time insights into energy implementation and cost analysis of a solar powered water pump
consumption patterns and device operations. for multistoried building," 2015 3rd International Conference on
Green Energy and Technology (ICGET), Dhaka, Bangladesh,
Challenges and Future Enhancements: While the 2015, pp. 1-5, doi: 10.1109/ICGET.2015.7315110.
system demonstrated remarkable performance, a few
challenges were encountered. The accuracy of renewable [8]. A. Chandy, “A review on IoT based medical imaging technology
for healthcare applications”, Journal of Innovative Image
energy prediction algorithms during variable weather
Processing (JIIP),” vol. 51–60, no. 1(01), 2019, doi:
conditions remains an area for improvement [26]. 10.36548/jiip.2019.1.006.
Additionally, further refinement of demand response
strategies and load shifting algorithms can enhance the [9]. Wang, Q., Singh, C. "Demand response in the smart grid: a
review." IEEE Trans Smart Grid 5, 1453–1465 (2014).
system's adaptability.
In the realm of future enhancements, the system's [10]. P. Mykhailova, S. Zubkov, J. Antonova-Rafi and I. Khudetskyy,
"Application of the Photoplethysmography Technique to
potential for scalability and integration with smart grid Complex Wireless Diagnostic the Functional State of the Human
infrastructure is noteworthy. Incorporating machine learning Body," 2018 International Scientific-Practical Conference
algorithms for more accurate energy predictions anddemand Problems of Infocommunications. Science and Technology (PIC
S&T), 2018.
forecasting can further optimize the system's performance.
The inclusion of more advanced sensors and the exploration [11]. Wei, W., Fu, Y., & Song, M. (2018). Optimization of a
of advanced battery technologies can lead to higher photovoltaic-battery hybrid system considering demand response
efficiency. for residential energy management. Applied Energy, 220, 105-
115.
V. CONCLUSION
In summary, the project "IoT based Energy [12]. Jafari, M.A., Nasirian, V. "Demand response in smart grid: An
Optimization and Demand Response System for Renewable overview and classification." Electr Eng (2019) 101: 657.
Energy Integration" effectively merges cutting-edge IoT
[13]. Ding, X., Qian, L., Wu, J., & Zhang, X. (2018). Optimal energy
scheduling and demand response in a residential microgrid with
energy storage. IEEE Transactions on Smart Grid, 9(3), 2493-
2504.

[14]. S. Ali et al., "Demand Response Program for Efficient Demand-


Side Management in Smart Grid Considering Renewable Energy
Sources," in IEEE Access, vol. 10, pp. 53832-53853, 2022, doi:
10.1109/ACCESS.2022.3174586.

[15]. H. A. Illias, N. S. Ishak, H. Mokhlis and M. Z. Hossain, "IoT-


based Hybrid Renewable Energy Harvesting System from Water
Flow," 2020 IEEE International Conference on Power and Energy
(PECon), Penang, Malaysia, 2020, pp. 204-208, doi:
10.1109/PECon48942.2020.9314412.

[16]. C. S. Cabading, J. Francis Natividad and R. V. Santiago, "Design


of A Hybrid Renewable Energy System with IoT Monitoring and
Battery Management," 2022 IEEE 14th International Conference
on Humanoid, Nanotechnology, Information Technology,
Communication and Control, Environment, and Management
(HNICEM), Boracay Island, Philippines, 2022, pp. 1-6, doi:
10.1109/HNICEM57413.2022.10109524.

[17]. S. Sivaranjani, S. Logashri, C. K. Pavithra, T. Pavithra and S.


Puviarasi, "Renewable Energy Generation and Grid
Synchronization using IOT," 2022 IEEE World Conference on
Applied Intelligence and Computing (AIC), Sonbhadra, India,
2022, pp. 492-496, doi: 10.1109/AIC55036.2022.9848846.

[18]. D. K. Aagri and A. Bisht, "Export and Import of Renewable


energy by Hybrid MicroGrid via IoT," 2018 3rd International
Conference On Internet of Things: Smart Innovation and Usages
(IoT-SIU), Bhimtal, India, 2018, pp. 1-4, doi: 10.1109/IoT-
SIU.2018.8519873.

[19]. G. A. Raiker et al., "Energy Disaggregation Using Energy


Demand Model and IoT-Based Control," in IEEE Transactions on
Industry Applications, vol. 57, no. 2, pp. 1746-1754, March-April
2021, doi: 10.1109/TIA.2020.3047016.

[20]. C. Tipantuña and X. Hesselbach, "IoT-Enabled Proposal for


Adaptive Self-Powered Renewable Energy Management in Home
Systems," in IEEE Access, vol. 9, pp. 64808-64827, 2021, doi:
10.1109/ACCESS.2021.3073638.

[21]. E. -T. Bouali, M. R. Abid, E. -M. Boufounas, T. A. Hamed and


D. Benhaddou, "Renewable Energy Integration Into Cloud & IoT-
Based Smart Agriculture," in IEEE Access, vol. 10, pp. 1175-
1191, 2022, doi: 10.1109/ACCESS.2021.3138160.

[22]. V. Puri et al., "A Hybrid Artificial Intelligence and Internet of


Things Model for Generation of Renewable Resource of Energy,"
in IEEE Access, vol. 7, pp. 111181-111191, 2019, doi:
10.1109/ACCESS.2019.2934228.

[23]. A. A. Stonier, S. M. Devasena, J. Mounika, S. Ganesh, M.


Srinivasan and D. S. Vanaja, "Design and Implementation of an
Intelligent Energy Conversion System," 2021 International
Conference on Advancements in Electrical, Electronics,
Communication, Computing and Automation (ICAECA),
Coimbatore, India, 2021, pp. 1-6, doi:
10.1109/ICAECA52838.2021.9675537.

[24]. P. Sachan, A. Singh and T. Bahar, "IOT Based PV Monitoring


System," 2022 4th International Conference on Advances in
Computing, Communication Control and Networking (ICAC3N),
Greater Noida, India, 2022, pp. 2382-2384, doi:
10.1109/ICAC3N56670.2022.10074333.

[25]. H. Vidhya, U. Akshaya, M. G. Keerthana and T. Dhivyanandhini,


"IoT based Solar Technology Monitoring and Cleaning System,"
2022 International Conference on Automation, Computing and
Renewable Systems (ICACRS), Pudukkottai, India, 2022, pp. 1-5,
doi: 10.1109/ICACRS55517.2022.10029254.

[26]. A. S. Salunkhe, Y. K. Kanse and S. S. Patil, "Internet of Things


based Smart Energy Meter with ESP 32 Real Time Data
Monitoring," 2022 International Conference on Electronics and
Renewable Systems (ICEARS), Tuticorin, India, 2022, pp. 446-
451, doi: 10.1109/ICEARS53579.2022.9752144.

You might also like