{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T05:07:11Z","timestamp":1787029631998,"version":"build-2736575974"},"reference-count":43,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2021,3,5]],"date-time":"2021-03-05T00:00:00Z","timestamp":1614902400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100012363","name":"Saudi Arabia Cultural Bureau in London","doi-asserted-by":"publisher","award":["00000000"],"award-info":[{"award-number":["00000000"]}],"id":[{"id":"10.13039\/100012363","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Narrowband-Internet of Things (NB-IoT) displays high-quality connectivity underpinned by fifth-generation (5G) networks to cover a wide array of IoT applications. The devices\u2019 development and integration into different smart systems require permanent control, supervision, and the study of power consumption models to determine the performance of the network topology and allow for the measurement of the efficiency of the network topology\u2019s application. This paper reports on an architecture and open-sourced simulation that was developed to study NB-IoT in Device-to-Device (D2D) mode, which includes the Physical (PHY), network, and application layers, as well as a queuing model, the model for uplink and downlink delays, the throughput, the overall NB-IoT D2D network performance, and the energy consumption based on the Low Energy Adaptive Clustering Hierarchy (LEACH) protocol. Our results prove that the suggested framework contributes to a reduction in power consumption, a minimization of queuing delays, a decrease in communication cost, a reduction in inter-cluster collisions, and the prevention of attacks from malicious nodes. Consequently, the framework manages the battery\u2019s State of Charge (SOC), improves the battery\u2019s State of Health (SOH), and maximizes the whole network lifetime. The proposed framework, the code of which has been open-sourced, can be effectively used for scientific research and development purposes to evaluate different parameters and improve the planning of NB-IoT networks.<\/jats:p>","DOI":"10.3390\/s21051824","type":"journal-article","created":{"date-parts":[[2021,3,5]],"date-time":"2021-03-05T11:46:09Z","timestamp":1614944769000},"page":"1824","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":17,"title":["Narrowband-Internet of Things Device-to-Device Simulation: An Open-Sourced Framework"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0483-1798","authenticated-orcid":false,"given":"Ohood Saud","family":"Althobaiti","sequence":"first","affiliation":[{"name":"Department of Engineering, King\u2019s College London, London WC2R 2LS, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9583-2923","authenticated-orcid":false,"given":"Mischa","family":"Dohler","sequence":"additional","affiliation":[{"name":"Department of Engineering, King\u2019s College London, London WC2R 2LS, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,3,5]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"136","DOI":"10.1016\/j.hlpt.2020.04.005","article-title":"Defending against the Novel Coronavirus (COVID-19) Outbreak: How Can the Internet of Things (IoT) help to save the World?","volume":"9","author":"Rahman","year":"2020","journal-title":"Health Policy Technol."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Dohler, M. (2020). 5G Networks, Haptic Codecs, and the Operating Theatre. Digital Surgery, Springer.","DOI":"10.1007\/978-3-030-49100-0_6"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Mavromoustakis, C.X., Mastorakis, G., and Batalla, J.M. (2016). Internet of Things (IoT) in 5G Mobile Technologies, Springer.","DOI":"10.1007\/978-3-319-30913-2"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"52","DOI":"10.1016\/j.adhoc.2016.06.010","article-title":"Network layer inter-operation of Device-to-Device communication technologies in Internet of Things (IoT)","volume":"57","author":"Bello","year":"2017","journal-title":"Ad Hoc Netw."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"104","DOI":"10.1016\/j.procs.2015.08.318","article-title":"A network topology discovery tool for android smart phones","volume":"63","author":"Saeed","year":"2015","journal-title":"Procedia Comput. Sci."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.icte.2017.12.005","article-title":"A comparative study of LPWAN technologies for large-scale IoT deployment","volume":"5","author":"Mekki","year":"2019","journal-title":"ICT Express"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Althobaiti, O.S. (2020). IoT Limitations and Concerns Relative to 5G Architecture. Handbook of Research on Smart Technology Models for Business and Industry, IGI Global.","DOI":"10.4018\/978-1-7998-3645-2.ch003"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"94533","DOI":"10.1109\/ACCESS.2019.2928523","article-title":"Towards a green and self-powered Internet of Things using piezoelectric energy harvesting","volume":"7","author":"Shirvanimoghaddam","year":"2019","journal-title":"IEEE Access"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1923","DOI":"10.1109\/COMST.2014.2375934","article-title":"Device-to-device communication in LTE-advanced networks: A survey","volume":"17","author":"Liu","year":"2014","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_10","first-page":"1","article-title":"Device-to-device (D2D) communication under LTE-advanced networks","volume":"8","author":"Hicham","year":"2016","journal-title":"Int. J. Wirel. Mob. Netw. (IJWMN)"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"20557","DOI":"10.1109\/ACCESS.2017.2751586","article-title":"Narrow band internet of things","volume":"5","author":"Chen","year":"2017","journal-title":"IEEE Access"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Benhiba, B.E., Madi, A.A., and Addaim, A. (2018, January 5\u20136). Comparative study of the various new cellular iot technologies. Proceedings of the IEEE 2018 International Conference on Electronics, Control, Optimization and Computer Science (ICECOCS), Kenitra, Morocco.","DOI":"10.1109\/ICECOCS.2018.8610508"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"2304","DOI":"10.1109\/JIOT.2017.2739181","article-title":"Narrowband internet of things: Simulation and modeling","volume":"5","author":"Miao","year":"2017","journal-title":"IEEE Internet Things J."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Ahmad, Y.A., Hassan, W.A., and Rahman, T.A. (2012, January 3\u20135). Studying different propagation models for LTE-A system. Proceedings of the IEEE 2012 International Conference on Computer and Communication Engineering (ICCCE), Kuala Lumpur, Malaysia.","DOI":"10.1109\/ICCCE.2012.6271336"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"57","DOI":"10.1109\/TGCN.2019.2948591","article-title":"On the latency-energy performance of nb-iot systems in providing wide-area iot connectivity","volume":"4","author":"Azari","year":"2019","journal-title":"IEEE Trans. Green Commun. Netw."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Foni, S., Pecorella, T., Fantacci, R., Carlini, C., Obino, P., and Di Benedetto, M.G. (2017, January 20\u201322). Evaluation methodologies for the NB-IOT system: Issues and ongoing efforts. Proceedings of the IEEE 2017 AEIT International Annual Conference, Cagliari, Italy.","DOI":"10.23919\/AEIT.2017.8240557"},{"key":"ref_17","unstructured":"da Cruz, R.M. (2019). Network Planning Model for NB-IoT. [Master\u2019s Thesis, Faculdade De Engenharia Da Universidade Do Porto]."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"3975","DOI":"10.1109\/TVT.2011.2166569","article-title":"Design and analysis of backoff algorithms for random access channels in UMTS-LTE and IEEE 802.16 systems","volume":"60","author":"Seo","year":"2011","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"498","DOI":"10.1109\/TVT.2010.2091660","article-title":"Simulating LTE cellular systems: An open-source framework","volume":"60","author":"Piro","year":"2010","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_20","unstructured":"Piro, G. (2018, May 01). LTE-Sim-the LTE Simulator. Available online: http:\/\/telematics.poliba.it\/LTE-Sim."},{"key":"ref_21","unstructured":"Pawa, T.D.S. (2011). Analysis of Low Energy Adaptive Clustering Hierarchy (LEACH) Protocol. [BTech Thesis, Department of Computer Science and Engineering]."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"293","DOI":"10.1016\/S1570-8705(03)00008-8","article-title":"Secure routing in wireless sensor networks: Attacks and countermeasures","volume":"1","author":"Karlof","year":"2003","journal-title":"Ad Hoc Netw."},{"key":"ref_23","first-page":"612","article-title":"Attack and flee: Game-theory-based analysis on interactions among nodes in MANETs","volume":"40","author":"Li","year":"2009","journal-title":"IEEE Trans. Syst. Man Cybern. Part B (Cybern.)"},{"key":"ref_24","unstructured":"Aderohunmu, F.A. (2010). Energy Management Techniques in Wireless Sensor Networks: Protocol Design and Evaluation. [Ph.D. Thesis, University of Otago]."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"640","DOI":"10.1109\/LWC.2016.2609914","article-title":"Random access preamble design and detection for 3GPP narrowband IoT systems","volume":"5","author":"Lin","year":"2016","journal-title":"IEEE Wirel. Commun. Lett."},{"key":"ref_26","unstructured":"Schlienz, J., and Raddino, D. (2018, December 01). Narrowband Internet of Things Whitepaper. Available online: https:\/\/cdn.rohde-schwarz.com\/pws\/dl_downloads\/dl_application\/application_notes\/1ma266\/1MA266_0e_NB_IoT.pdf."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"2270","DOI":"10.1109\/LCOMM.2017.2720585","article-title":"An enhanced access reservation protocol with a partial preamble transmission mechanism in NB-IoT systems","volume":"21","author":"Kim","year":"2017","journal-title":"IEEE Commun. Lett."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Nauman, A., Jamshed, M.A., Ahmad, Y., Ali, R., Zikria, Y.B., and Kim, S.W. (2019, January 24\u201328). An intelligent deterministic D2D communication in narrow-band Internet of Things. Proceedings of the IEEE 2019 15th International Wireless Communications & Mobile Computing Conference (IWCMC), Tangier, Morocco.","DOI":"10.1109\/IWCMC.2019.8766786"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"1801","DOI":"10.1109\/COMST.2014.2319555","article-title":"A survey on device-to-device communication in cellular networks","volume":"16","author":"Asadi","year":"2014","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"177","DOI":"10.1109\/TWC.2014.2334661","article-title":"Social network aware device-to-device communication in wireless networks","volume":"14","author":"Zhang","year":"2014","journal-title":"IEEE Trans. Wirel. Commun."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Hejselb\u00e6k, J., Nielsen, J., Drewes, C., Fan, W., and Pedersen, G.F. (2018, January 9\u201313). Propagation Measurements for Device-to-Device Communication in Forest Terrain. Proceedings of the 12th European Conference on Antennas and Propagation (EuCAP 2018), London, UK.","DOI":"10.1049\/cp.2018.0389"},{"key":"ref_32","unstructured":"TONEX (2020, December 03). 5G Device to Device Communications, 5G D2D Training. Available online: https:\/\/www.tonex.com\/5g-device-to-device-communications-5g-course\/."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Al-Samman, A.M., Rahman, T.A., Hindia, M., Daho, A., and Hanafi, E. (2018). Path loss model for outdoor parking environments at 28 GHz and 38 GHz for 5G wireless networks. Symmetry, 10.","DOI":"10.3390\/sym10120672"},{"key":"ref_34","unstructured":"(2013, January 01). MATLAB. Available online: https:\/\/www.mathworks.com\/products\/matlab.html."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"157356","DOI":"10.1109\/ACCESS.2020.3019345","article-title":"Cybersecurity Challenges Associated With the Internet of Things in a Post-Quantum World","volume":"8","author":"Althobaiti","year":"2020","journal-title":"IEEE Access"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"393","DOI":"10.1016\/S1389-1286(01)00302-4","article-title":"Wireless sensor networks: A survey","volume":"38","author":"Akyildiz","year":"2002","journal-title":"Comput. Netw."},{"key":"ref_37","unstructured":"Nair, V. (2017). Evaluating the Suitability of Narrowband-Internet of Things (NB-IoT) for Smart Grids. [Master\u2019s Thesis, TU Delft]. Available online: http:\/\/resolver.tudelft.nl\/uuid:29bc9edf-122b-4adf-b2e6-35504a2454fc."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"15051","DOI":"10.1109\/ACCESS.2018.2812299","article-title":"Radio resource management scheme in NB-IoT systems","volume":"6","author":"Malik","year":"2018","journal-title":"IEEE Access"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Singh, A., Kumar, A., Kumar, A., and Dwivedi, V. (2016, January 26\u201328). Radio Frequency global positioning system for real-time vehicle parking. Proceedings of the IEEE 2016 International Conference on Signal Processing and Communication (ICSC), Noida, India.","DOI":"10.1109\/ICSPCom.2016.7980628"},{"key":"ref_40","unstructured":"Rappaport, T. (2010). Wireless Communications: Principles and Practice, Pearson Education. [2nd ed.]."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"8","DOI":"10.1109\/MNET.2017.1700081","article-title":"Narrowband IoT data transmission procedures for massive machine-type communications","volume":"31","author":"Ameigeiras","year":"2017","journal-title":"IEEE Netw."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Martiradonna, S., Piro, G., and Boggia, G. (2019). On the evaluation of the nb-iot random access procedure in monitoring infrastructures. Sensors, 19.","DOI":"10.3390\/s19143237"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Azari, A., Miao, G., Stefanovic, C., and Popovski, P. (2018, January 9\u201313). Latency-energy tradeoff based on channel scheduling and repetitions in NB-IoT systems. Proceedings of the 2018 IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, United Arab Emirates.","DOI":"10.1109\/GLOCOM.2018.8648024"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/5\/1824\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:33:39Z","timestamp":1760160819000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/5\/1824"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,3,5]]},"references-count":43,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2021,3]]}},"alternative-id":["s21051824"],"URL":"https:\/\/doi.org\/10.3390\/s21051824","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,3,5]]}}}