Training a multi-layered perceptron using moth swarm algorithm for predicting energy demand of a data centre and weights-based analysis of input parameters

Oluwafemi Ajayi, Reolyn Heymann

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Citations (Scopus)


Multi-Layered Perceptron is a type of artificial neural networks and obtaining the optimal weights and biases of the model is critical to achieving good performance. In this study, Moth Swarm Algorithm has been proposed to train a Multi-Layered Perceptron neural network by finding the best combination of weights and biases that produce outputs with the least possible Mean Squared Error. The model has been applied for predicting the energy demand of a data centre. The simulations have been conducted using real life data obtained from an anonymous data centre operator in South Africa. The input parameters considered in the model are the ambient temperature, ambient relative humidity, chiller output temperature and CRAC air supply temperature. The performance of the proposed method has been evaluated based on the Mean Squared Error, Root Mean Squared Error, Mean Absolute Error, Mean Absolute Percentage Error and accuracy values obtained for the training and testing set. By comparing the results obtained with other models like Moth Flame Optimization, Ant Lion Optimization and Whale Optimization Algorithm, it was found that the Moth Swarm Algorithm-trained Multi-Layered Perceptron outperformed the other models. Further, a Percentage Relative Contribution analysis has been conducted to highlight the level of influence each of the input parameters considered has on the energy demand pattern of the data centre. Analyses show that the ambient temperature has the highest influence of 31.7% on the energy demand of the building.

Original languageEnglish
Title of host publicationProceedings of 2021 IEEE AFRICON, AFRICON 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781665419840
Publication statusPublished - 13 Sept 2021
Event2021 IEEE AFRICON, AFRICON 2021 - Virtual, Arusha, Tanzania, United Republic of
Duration: 13 Sept 202115 Sept 2021

Publication series

NameIEEE AFRICON Conference
ISSN (Print)2153-0025
ISSN (Electronic)2153-0033


Conference2021 IEEE AFRICON, AFRICON 2021
Country/TerritoryTanzania, United Republic of
CityVirtual, Arusha


  • Energy Demand Prediction
  • Moth Swarm Algorithm
  • Multi-Layered Perceptron
  • Optimization

ASJC Scopus subject areas

  • Computer Science Applications
  • Electrical and Electronic Engineering


Dive into the research topics of 'Training a multi-layered perceptron using moth swarm algorithm for predicting energy demand of a data centre and weights-based analysis of input parameters'. Together they form a unique fingerprint.

Cite this