Reduction of Electricity Cost of Residential Home Using PSO and WOA Optimization Method

Abir Hasnaoui, Abdelhafid Omari, Mohammed Bilal Danoune, Nu Rhahida Arini


Recently, the reduction of electricity costs in residential areas has become one of the major research fields. A comprehensive power management system is required to lower the cost of both power generation and consumption. Moreover, the world's energy consumption is continuously increasing. This rise is the consequence of perpetual birth rates and the expansion of factories, which have both significantly increased carbon dioxide emissions and global warming. In order to address these difficulties, hybrid renewable energy systems have evolved in an important way since the development of renewable energy sources. Two meta-heuristic approaches are applied in this paper: the first one is the particle swarm optimization (PSO), which is inspired by the social behavior of bird swarms, and the second one is the whale optimization algorithm (WOA) which is inspired by humpback whale hunting behavior, to tackle the main issue in this work which is decreasing the overall electricity cost of a residential home. The residential home considered in this work consists of two renewable energy sources: a solar panel and the wind turbine, and a power storage system based on battery. This residential home is connected to the main grid through a bidirectional inverter. Furthermore, a comparative optimization study was suggested where we propose two different residential load demands. The results showed the best decrease in the total electricity cost and the best optimal solution by employing the whale optimization approach in both proposed cases.


Reduction of electricity cost; residential home; particle swarm optimization; whale optimization algorithm

Full Text:



S. Guo, Q. Liu, J. Sun, and H. Jin, “A review on the utilization of hybrid renewable energy,†Renewable and Sustainable Energy Reviews, vol. 91. pp. 1121–1147, 2018. doi: 10.1016/j.rser.2018.04.105.

M. Jaszczur, Q. Hassan, P. Palej, and J. Abdulateef, “Multi-Objective optimisation of a micro-grid hybrid power system for household application,†Energy, vol. 202, pp. 1–15, 2020, doi: 10.1016/

J. Abdulateef, “Simulation of Solar Off-Grid Photovoltaic System for Residential Unit,†International Journal of Sustainable and Green Energy. Special Issue: Engineering Solution for High Performance of Solar Energy System, vol. 4, no. 1, pp. 29–33, 2014.

J. Abdulateef et al., “Economic Analysis of a Stand-Alone PV System to Electrify a Residential Home in Malaysia,†the 10th IASME/WSEAS International Conference on Heat Transfer, Thermal Engineering and Environment (HTE’12). Istanbul, Turkey, pp. 169–174, 2012.

S. Kallio and M. Siroux, “Hybrid renewable energy systems based on micro-cogeneration,†Energy Reports, vol. 8, pp. 762–769, 2022, doi: 10.1016/j.egyr.2021.11.158.

J. Lagorse, D. Paire, and A. Miraoui, “A multi-agent system for energy management of distributed power sources,†Renew Energy, vol. 35, no. 1, pp. 174–182, 2010, doi: 10.1016/j.renene.2009.02.029.

B. E. K. Nsafon, A. B. Owolabi, H. M. Butu, J. W. Roh, D. Suh, and J. S. Huh, “Optimization and sustainability analysis of PV/wind/diesel hybrid energy system for decentralized energy generation,†Energy Strategy Reviews, vol. 32, pp. 1–11, 2020, doi: 10.1016/j.esr.2020.100570.

T. M. Tawfik, M. A. Badr, E. Y. El-Kady, and O. E. Abdellatif, “Optimization and energy management of hybrid standalone energy system: a case study,†Renewable Energy Focus, vol. 25, pp. 48–56, 2018, doi: 10.1016/j.ref.2018.03.004.

L. Abualigah et al., “Wind, Solar, and Photovoltaic Renewable Energy Systems with and without Energy Storage Optimization: A Survey of Advanced Machine Learning and Deep Learning Techniques,†Energies, vol. 15, no. 2. pp. 1–26, 2022. doi: 10.3390/en15020578.

Y. Lahlou, A. Hajji, and M. Aggour, “Optimization of a Management Algorithm for an Innovative System of Automatic Switching between Two Photovoltaic and Wind Turbine Modes for an Ecological Production of Green Energy,†International Journal of Renewable Energy Development, vol. 12, no. 1, pp. 36–45, Jan. 2023, doi: 10.14710/ijred.2023.47137.

K. Gholami and E. Dehnavi, “A modified particle swarm optimization algorithm for scheduling renewable generation in a micro-grid under load uncertainty,†Applied Soft Computing Journal, vol. 78, 2019, doi: 10.1016/j.asoc.2019.02.042.

M. B. Danoune, A. Djafour, Y. Wang, and A. Gougui, “The Whale Optimization Algorithm for efficient PEM fuel cells modeling,†Int J Hydrogen Energy, vol. 46, no. 75, 2021, doi: 10.1016/j.ijhydene.2021.03.105.

M. Azaroual, M. Ouassaid, and M. Maaroufi, “An Optimal Energy Management of Grid-Connected Residential Photovoltaic-Wind-Battery System Under Step-rate and Time-of-Use Tariffs,†International Journal of Renewable Energy Research, vol. 10, no. 4, 2020, doi: 10.20508/ijrer.v10i4.11448.g8093.

A. P. Srivishnupriya, M. Mohamed Thameem Ansari, and N. J. Vinoth Kumar, “Automatic generation control of three area hybrid power system by sine cosine optimized dual mode fractional order controller,†International Journal of Renewable Energy Research, no. Vol12i3, 2022, doi: 10.20508/ijrer.v12i3.13127.g8524.

M. Zakaria, M. Sh Seif, and M. A Mehanna, “Energy Management of MG Considering the Emission and Degradation Costs using A CAP-SA Optimization,†International Journal of Renewable Energy Research, no. Vol12i3, 2022, doi: 10.20508/ijrer.v12i3.13288.g8528.

S. H. Pramono, A. Zainuri, and M. F. E. Purnomo, “Temperature and Humidity Optimization of Air Conditioner for Saving Electrical Energy Using Wireless Sensor Network Method,†Int J Adv Sci Eng Inf Technol, vol. 11, no. 4, 2021, doi: 10.18517/ijaseit.11.4.14101.

M. P. Vu, T. N. Nguyen, and Q. T. Nguyen, “Optimization Assessment of Grid-tied Wind and Solar Hybrid Power System for Industrial Factory in Vietnam,†International Journal of Renewable Energy Research, no. Vol12i3, 2022, doi: 10.20508/ijrer.v12i3.13100.g8532.

M. A. Ismail, V. Mezhuyev, I. Darmawan, S. Kasim, M. S. Mohamad, and A. O. Ibrahim, “Optimization of biochemical systems production using combination of newton method and particle swarm optimization,†Int J Adv Sci Eng Inf Technol, vol. 9, no. 3, 2019, doi: 10.18517/ijaseit.9.3.4987.

Y. Q. Ang, A. Polly, A. Kulkarni, G. B. Chambi, M. Hernandez, and M. N. Haji, “Multi-objective optimization of hybrid renewable energy systems with urban building energy modeling for a prototypical coastal community,†Renew Energy, vol. 201, pp. 72–84, Dec. 2022, doi: 10.1016/j.renene.2022.09.126.

A. Dadak, S. A. Mousavi, M. Mehrpooya, and A. Kasaeian, “Techno-economic investigation and dual-objective optimization of a stand-alone combined configuration for the generation and storage of electricity and hydrogen applying hybrid renewable system,†Renew Energy, vol. 201, pp. 1–20, Dec. 2022, doi: 10.1016/j.renene.2022.10.085.

B. Cheng and Y. Yao, “Design and optimization of a novel U-type vertical axis wind turbine with response surface and machine learning methodology,†Energy Convers Manag, vol. 273, p. 116409, Dec. 2022, doi: 10.1016/j.enconman.2022.116409.

A. Abdel-hamed, A. Abdelaziz, and Y. Alsmadi, “An Optimized Control Scheme for Solar Energy Tracking Systems,†International Journal of Renewable Energy Research, no. Vol12i3, 2022, doi: 10.20508/ijrer.v12i3.13057.g8544.

K. Sanprasit and P. Artrit, “Multi-Objective Whale Optimization Algorithm for Balance Recovery of a Humanoid Robot,†International Journal of Mechanical Engineering and Robotics Research, vol. 9, no. 2278–0149, pp. 882–893, 2020.

M. A. bin M. Idris, M. R. Hao, and M. A. Ahmad, “A data driven approach to wind plant control using moth-flame optimization (MFO) algorithm,†Int J Adv Sci Eng Inf Technol, vol. 9, no. 1, 2019, doi: 10.18517/ijaseit.9.1.7585.

T. N. Padmini and T. Shankar, “Multi-scale fusion of enhanced hazy images using particle swarm optimization and fuzzy intensification operators,†Int J Adv Sci Eng Inf Technol, vol. 9, no. 4, 2019, doi: 10.18517/ijaseit.9.4.4538.

A. C. Minh Loy et al., “Optimization Study of Syngas Production from Catalytic Air Gasification of Rice Husk,†Int J Adv Sci Eng Inf Technol, vol. 10, no. 5, 2020, doi: 10.18517/ijaseit.10.5.9906.

H. A. H. Al-khazarji, M. A. Abdulsada, and R. B. Abduljabbar, “Robust Approach of Optimal Control for DC Motor in Robotic Arm System using Matlab Environment,†Int J Adv Sci Eng Inf Technol, vol. 10, no. 6, 2020, doi: 10.18517/ijaseit.10.6.8923.

V. Vai, L. Bun, and H. Ohgaki, “Integrated Battery Energy Storage into an Optimal Low Voltage Distribution System with PV Production for an Urban Village,†Int J Adv Sci Eng Inf Technol, vol. 10, no. 6, 2020, doi: 10.18517/ijaseit.10.6.12993.

S. Nuanmeesri and L. Poomhiranb, “Optimization Shortest One-Way Path for Energy Saving Auto Robot Collecting Floating Garbage using Fast Approximate Nearest Neighbor Search,†Int J Adv Sci Eng Inf Technol, vol. 11, no. 2, 2021, doi: 10.18517/ijaseit.11.2.13191.

J. Kennedy and R. Eberhart, “Particle swarm optimization,†in Proceedings of ICNN’95 - International Conference on Neural Networks, 1995, pp. 1942–1948. doi: 10.1109/ICNN.1995.488968.

M. Kharrich, O. H. Mohammed, and M. Akherraz, “Design of hybrid microgrid PV/wind/diesel/battery system: Case study for rabat and baghdad,†EAI Endorsed Transactions on Energy Web, vol. 7, no. 26, 2020, doi: 10.4108/eai.13-7-2018.162692.

A. Bouakkaz, S. Haddad, and A. J. Gil Mena, “Optimal Peak Power Shaving Through Household Appliance Scheduling in off-grid Renewable Energy System,†in Proceedings - 2019 IEEE International Conference on Environment and Electrical Engineering and 2019 IEEE Industrial and Commercial Power Systems Europe, EEEIC/I and CPS Europe 2019, 2019. doi: 10.1109/EEEIC.2019.8783662.

S. Mirjalili and A. Lewis, “The Whale Optimization Algorithm,†Advances in Engineering Software, vol. 95, pp. 51–67, May 2016, doi: 10.1016/j.advengsoft.2016.01.008.

F. Y. Melhem, O. Grunder, Z. Hammoudan, and N. Moubayed, “Optimization and Energy Management in Smart Home Considering Photovoltaic, Wind, and Battery Storage System With Integration of Electric Vehicles,†Canadian Journal of Electrical and Computer Engineering, vol. 40, no. 2, 2017, doi: 10.1109/CJECE.2017.2716780.



  • There are currently no refbacks.

Published by INSIGHT - Indonesian Society for Knowledge and Human Development