{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,8]],"date-time":"2026-05-08T18:56:38Z","timestamp":1778266598849,"version":"3.51.4"},"reference-count":37,"publisher":"MDPI AG","issue":"7","license":[{"start":{"date-parts":[[2021,4,2]],"date-time":"2021-04-02T00:00:00Z","timestamp":1617321600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Light Fidelity (LiFi) is a new candidate for wireless networking that utilizes the visible light spectrum and exploits the existing lighting infrastructure in the form of light-emitting diodes (LEDs). It provides point-to-point and point-to-multipoint communication on a bidirectional channel at very high data rates. However, the LiFi has small coverage, and its optical gain is closely related to the receiver\u2019s directionality vis-\u00e0-vis the transmitter, therefore it can experience frequent service outages. To provide reliable coverage, the LiFi is integrated with other networking technologies such as wireless fidelity (WiFi) thus forming a hybrid system. The hybrid LiFi\/WiFi system faces many challenges including but not limited to seamless integration with the WiFi, support for mobility, handover management, resource sharing, and load balancing. The existing literature has addressed one or the other aspect of the issues facing LiFi systems. There are limited free source tools available to holistically address these challenges in a scalable manner. To this end, we have developed an open-source simulation framework based on the network simulator 3 (ns-3), which realizes critical aspects of the LiFi wireless network. Our developed ns-3 LiFi framework provides a fully functional AP equipped with the physical layer and medium access control (MAC), a mobility model for the user device, and integration between LiFi and WiFi with a handover facility. Simulation results are produced to demonstrate the mobility and handover capabilities, and the performance gains from the LiFi-WiFi hybrid system in terms of packet delay, throughput, packet drop ratio (PDR), and fairness between users. The source code of the framework is made available for the use of the research community.<\/jats:p>","DOI":"10.3390\/s21072485","type":"journal-article","created":{"date-parts":[[2021,4,2]],"date-time":"2021-04-02T10:34:09Z","timestamp":1617359649000},"page":"2485","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":19,"title":["A Comprehensive Open-Source Simulation Framework for LiFi Communication"],"prefix":"10.3390","volume":"21","author":[{"given":"Shakir","family":"Ullah","sequence":"first","affiliation":[{"name":"Department of Electrical and Electronics Engineering, Auckland University of Technology (AUT), Auckland 1010, New Zealand"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2159-865X","authenticated-orcid":false,"given":"Saeed Ur","family":"Rehman","sequence":"additional","affiliation":[{"name":"School of Science and Engineering, Flinders University, Adelaide 5000, Australia"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Peter Han Joo","family":"Chong","sequence":"additional","affiliation":[{"name":"Department of Electrical and Electronics Engineering, Auckland University of Technology (AUT), Auckland 1010, New Zealand"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,4,2]]},"reference":[{"key":"ref_1","unstructured":"CVNI (2021, April 02). Cisco Visual Networking Index: Global Mobile Data Traffic Forecast Update, 2017\u20132022 White Paper. Available online: https:\/\/www.cisco.com\/c\/en\/us\/solutions\/collateral\/service-provider\/visual-networking-index-vni\/white-paper-c11-738429.pdf."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Wu, X., Soltani, M.D., Zhou, L., Safari, M., and Haas, H. (2020). Hybrid LiFi and WiFi networks: A survey. arXiv.","DOI":"10.1109\/COMST.2021.3058296"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1533","DOI":"10.1109\/JLT.2015.2510021","article-title":"What is LiFi?","volume":"34","author":"Haas","year":"2016","journal-title":"J. Lightwave Technol."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2978","DOI":"10.1109\/TCOMM.2020.2974458","article-title":"Realistic Indoor Hybrid WiFi and OFDMA-Based LiFi Networks","volume":"68","author":"Zeng","year":"2020","journal-title":"IEEE Trans. Commun."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"227","DOI":"10.1364\/JOCN.388264","article-title":"Optimized joint LiFi coordinated multipoint joint transmission clustering and load balancing for hybrid LiFi and WiFi networks","volume":"12","author":"Ma","year":"2020","journal-title":"IEEE\/OSA J. Opt. Commun. Netw."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"2366","DOI":"10.1109\/TWC.2017.2664821","article-title":"Load Balancing Game With Shadowing Effect for Indoor Hybrid LiFi\/RF Networks","volume":"16","author":"Wang","year":"2017","journal-title":"IEEE Trans. Wirel. Commun."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"243","DOI":"10.1186\/s13638-018-1258-3","article-title":"Performance analysis of adaptive OFDM modulation scheme in VLC vehicular communication network in realistic noise environment","volume":"2018","author":"Farahneh","year":"2018","journal-title":"EURASIP J. Wirel. Commun. Netw."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Marabissi, D., Mucchi, L., Caputo, S., Nizzi, F., Pecorella, T., Fantacci, R., Nawaz, T., Seminara, M., and Catani, J. (2020). Experimental measurements of a joint 5G-VLC communication for future vehicular networks. J. Sens. Actuator Netw., 9.","DOI":"10.3390\/jsan9030032"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"12040","DOI":"10.1109\/TVT.2019.2948041","article-title":"IEEE 802.15. 7-compliant ultra-low latency relaying VLC system for safety-critical ITS","volume":"68","author":"Nawaz","year":"2019","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Afgani, M.Z., Haas, H., Elgala, H., and Knipp, D. (2006, January 1\u20133). Visible light communication using OFDM. Proceedings of the 2nd International Conference on Testbeds and Research Infrastructures for the Development of Networks and Communities TRIDENTCOM 2006, Barcelona, Spain.","DOI":"10.1109\/TRIDNT.2006.1649137"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Bouchet, O., Porcon, P., Wolf, M., Grobe, L., Walewski, J.W., Nerreter, S., Langer, K., Fern\u00e1ndez, L., Vucic, J., and Kamalakis, T. (2010, January 6\u201310). Visible-light communication system enabling 73 Mb\/s data streaming. Proceedings of the 2010 IEEE Globecom Workshops, Miami, FL, USA.","DOI":"10.1109\/GLOCOMW.2010.5700092"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"821","DOI":"10.1109\/LPT.2019.2909139","article-title":"Neural Network-Based Joint Spatial and Temporal Equalization for MIMO-VLC System","volume":"31","author":"Rajbhandari","year":"2019","journal-title":"IEEE Photon-Technol. Lett."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Wang, Q., Liverman, S., Chu, Y.-j., Borah, A., Wang, S., Nguyen, T., Natarajan, A., and Wang, A.X. (2017, January 21\u201325). WiFO: A Hybrid WiFi Free-Space Optical Communication Networks of Femtocells. Proceedings of the 20th ACM International Conference on Modelling, Analysis and Simulation of Wireless and Mobile Systems, Miami, FL, USA.","DOI":"10.1145\/3127540.3127557"},{"key":"ref_14","unstructured":"Amsdon, T., and Sibley, M.J. (2013). Theoretical Concepts and Matlab Modelling of VLC Based MIMO Systems, University of Huddersfield."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Shen, X., and Haas, H. (2020, January 25\u201328). Vehicle to Infrastructure VLC Channel Models. Proceedings of the 2020 IEEE 91st Vehicular Technology Conference (VTC2020-Spring), Antwerp, Belgium.","DOI":"10.1109\/VTC2020-Spring48590.2020.9129060"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"76854","DOI":"10.1109\/ACCESS.2018.2882919","article-title":"Downlink performance of optical OFDM in outdoor visible light communication","volume":"6","author":"Haas","year":"2018","journal-title":"IEEE Access"},{"key":"ref_17","unstructured":"Shao, S., Khreishah, A., and Ayyash, M. (2015). Delay analysis of hybrid WiFi-LiFi system. arXiv."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"932","DOI":"10.1109\/TGCN.2018.2849944","article-title":"A Hybrid RF-VLC System for Energy Efficient Wireless Access","volume":"2","author":"Khreishah","year":"2018","journal-title":"IEEE Trans. Green Commun. Netw."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Arfaoui, M.A., Soltani, M.D., Tavakkolnia, I., Ghrayeb, A., Assi, C., Safari, M., and Haas, H. (2020). Measurements-Based Channel Models for Indoor LiFi Systems. IEEE Trans. Wirel. Commun., 1.","DOI":"10.1109\/TWC.2020.3028456"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Soltani, M.D., Purwita, A.A., Zeng, Z., Haas, H., and Safari, M. (2018). Modeling the Random Orientation of Mobile Devices: Measurement, Analysis and LiFi Use Case. arXiv.","DOI":"10.1109\/TCOMM.2018.2882213"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"38369","DOI":"10.1109\/ACCESS.2019.2903409","article-title":"Handover Skipping for LiFi","volume":"7","author":"Wu","year":"2019","journal-title":"IEEE Access"},{"key":"ref_22","unstructured":"(2021, April 02). ns-3, \u201cns3 Statistics\u201d. Available online: https:\/\/www.nsnam.org\/about\/statistics\/."},{"key":"ref_23","unstructured":"Bilalb, S.M., and Othmana, M. (2013). A performance comparison of network simulators for wireless networks. arXiv."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Riley, G.F., and Henderson, T.R. (2010). The ns-3 Network Simulator. Modeling and Tools for Network Simulation, Springer Science and Business Media LLC.","DOI":"10.1007\/978-3-642-12331-3_2"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Nurchis, M., and Bellalta, B. (2016). Performance Evaluation of LAA-LTE and WiFi Coexistence in Unlicensed 5 GHz Band Under Asymmetric Network Deployments Using NS3. International Workshop on Multiple Access Communications, Springer.","DOI":"10.1007\/978-3-319-51376-8_7"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Mezzavilla, M., Dutta, S., Zhang, M., Akdeniz, M.R., and Rangan, S. (2015, January 2\u20136). 5G mmWave module for the ns-3 network simulator. Proceedings of the 18th ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems, Cancun, Mexico.","DOI":"10.1145\/2811587.2811619"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Aldalbahi, A., Rahaim, M., Khreishah, A., Ayyash, M., Ackerman, R., Basuino, J., Berreta, W., and Little, T.D. (2016, January 16\u201318). Extending ns3 to simulate visible light communication at network-level. Proceedings of the 2016 23rd International Conference on Telecommunications (ICT), Thessaloniki, Greece.","DOI":"10.1109\/ICT.2016.7500485"},{"key":"ref_28","unstructured":"Ullah, S.R.S., and Chong, P. (2021, April 02). A Comprehensive Simulation Tool for Light Fidelity (LiFi) in ns3, and Its Integration with WiFi. Available online: https:\/\/github.com\/shakir01\/LiFi-WiFi-Hybrid-System-in-ns3.git."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"5375","DOI":"10.1109\/TCOMM.2017.2740211","article-title":"Access Point Selection for Hybrid Li-Fi and Wi-Fi Networks","volume":"65","author":"Wu","year":"2017","journal-title":"IEEE Trans. Commun."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Ullah, S., Rehman, S.U., and Chong, P.H.J. (2019). The Effects of Non-line of Sight (NLOS) Channel on a User with Varying Device Orientations. International Conference on Ad Hoc Networks, Springer.","DOI":"10.1007\/978-3-030-37262-0_20"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Soltani, M.D., Zeng, Z., Tavakkolnia, I., Haas, H., and Safari, M. (2019, January 15\u201318). Random receiver orientation effect on channel gain in LiFi systems. Proceedings of the 2019 IEEE Wireless Communications and Networking Conference (WCNC), Marrakesh, Morocco.","DOI":"10.1109\/WCNC.2019.8886097"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Kahn, J.M., and Barry, J.R. (1997). Wireless Infrared Communication, IEEE.","DOI":"10.1109\/5.554222"},{"key":"ref_33","unstructured":"Ghassemlooy, Z., Popoola, W., and Rajbhandari, S. (2012). Optical Wireless Communications: System and Channel Modelling with MATLAB, CRC Press."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1109\/MNET.2013.6678933","article-title":"What\u2019s new for QoS in IEEE 802.11?","volume":"27","author":"Natkaniec","year":"2013","journal-title":"IEEE Netw."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Lacage, M., and Henderson, T.R. (2006, January 10). Yet another network simulator. Proceedings of the 2006 Workshop on ns-2: The IP Network Simulator (WNS2 \u201806), Pisa, Italy.","DOI":"10.1145\/1190455.1190467"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Shao, S., Khreishah, A., Rahaim, M.B., Elgala, H., Ayyash, M., Little, T.D., and Wu, J. (2014, January 28\u201330). An indoor hybrid WiFi-VLC internet access system. Proceedings of the 2014 IEEE 11th International Conference on Mobile Ad Hoc and Sensor Systems, Philadelphia, PA, USA.","DOI":"10.1109\/MASS.2014.76"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"667","DOI":"10.1016\/j.aeue.2014.02.009","article-title":"Performance and fairness enhancement in IEEE 802.11 WLAN networks","volume":"68","author":"Hu","year":"2014","journal-title":"AEU Int. J. Electron. Commun."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/7\/2485\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,13]],"date-time":"2025-10-13T13:33:42Z","timestamp":1760362422000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/7\/2485"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,4,2]]},"references-count":37,"journal-issue":{"issue":"7","published-online":{"date-parts":[[2021,4]]}},"alternative-id":["s21072485"],"URL":"https:\/\/doi.org\/10.3390\/s21072485","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,4,2]]}}}