<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "http://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">PJS</journal-id>
<journal-id journal-id-type="publisher-id">Premier Journal of Science</journal-id>
<journal-id journal-id-type="pmc">PJS</journal-id>
<journal-title-group>
<journal-title>PJ Science</journal-title>
</journal-title-group>
<issn pub-type="epub">3049-9011</issn>
<publisher>
<publisher-name>Premier Science</publisher-name>
<publisher-loc>London, UK</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.70389/PJS.100245</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>ORIGINAL RESEARCH</subject>
</subj-group>
<subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Cognitive science</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject><subj-group><subject>Linguistics</subject><subj-group><subject>Grammar</subject><subj-group><subject>Phonology</subject><subj-group><subject>Syllables</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Engineering and technology</subject><subj-group><subject>Signal processing</subject><subj-group><subject>Speech signal processing</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Cognitive science</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Mental health and psychiatry</subject><subj-group><subject>Schizophrenia</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Bioassays and physiological analysis</subject><subj-group><subject>Electrophysiological techniques</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Physiology</subject><subj-group><subject>Electrophysiology</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Brain mapping</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical neurophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Imaging techniques</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Cell biology</subject><subj-group><subject>Cellular types</subject><subj-group><subject>Animal cells</subject><subj-group><subject>Neurons</subject><subj-group><subject>Interneurons</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Cellular neuroscience</subject><subj-group><subject>Neurons</subject><subj-group><subject>Interneurons</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Bioassays and physiological analysis</subject><subj-group><subject>Electrophysiological techniques</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Physiology</subject><subj-group><subject>Electrophysiology</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Brain mapping</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical neurophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Imaging techniques</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group>
</article-categories>
<title-group>
<article-title>Model Z: Revolutionizing IoT Integration with Advanced Digital Twin Technology</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Hemananth</surname>
<given-names>B.</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Pushpalatha</surname>
<given-names>N.</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Govindaraj</surname>
<given-names>V.</given-names>
</name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Keerthika</surname>
<given-names>T.</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Pavadarani</surname>
<given-names>S. P.</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Srikiruthika</surname>
<given-names>S.</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yakavi</surname>
<given-names>B.</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft">Writing &#x2013; original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/review-editing">Review and editing</role>
</contrib>
<aff id="aff1"><sup>1</sup><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02f1z8215</institution-id><institution>Department of Electrical and Electronics Engineering, Sri Eshwar College of Engineering</institution></institution-wrap>, <city>Coimbatore</city>, <state>Tamil Nadu</state>, <country>India</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Electrical and Electronics Engineering, Karpagam College of Engineering</institution>, <city>Coimbatore</city>, <state>Tamil Nadu</state>, <country>India</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor001"><bold>Correspondence to:</bold> B. Hemananth, <email>hemananth.b@sece.ac.in</email></corresp>
<fn fn-type="other"><p>Peer Review</p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>31</day>
<month>01</month>
<year>2026</year>
</pub-date>
<pub-date pub-type="collection">
<month>01</month>
<year>2026</year>
</pub-date>
<volume>15</volume>
<issue>1</issue>
<elocation-id>100245</elocation-id>
<history>
<date date-type="received">
<day>15</day>
<month>08</month>
<year>2025</year>
</date>
<date date-type="rev-recd">
<day>31</day>
<month>10</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>17</day>
<month>12</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-year>2025</copyright-year>
<copyright-holder>B. Hemananth, N. Pushpalatha, V. Govindaraj, T. Keerthika, S. P. Pavadarani, S. Srikiruthika and B. Yakavi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="info:doi/10.70389/PJS.100245"/>
<abstract>
<p>Model Z introduces a robust Internet of Thing (IoT) solution that leverages the ESP8266 microcontroller to control a relay switch via a Firebase Realtime Database, enabling real-time and remote automation. Traditional control systems often lack reliable remote management, predictive cost estimation, and digital twin (DT) integration, which limits their effectiveness in modern interconnected environments. To address these gaps, the proposed system not only supports seamless manual and remote device control but also introduces three key contributions: (i) transformer-based regression for accurate cost prediction, (ii) integration of IoT with a DT for real-time energy management, and (iii) a reproducible pipeline with dataset and code release to ensure transparency and replicability. In this setup, the NodeMCU ESP8266 continuously monitors both the physical switch and the Firebase database to control the relay, enabling users to toggle connected appliances (e.g., a bulb) on or off while ensuring real-time synchronization of operational states. If the switch is pressed, the ESP8266 updates Firebase to reflect the change, ensuring accurate mirroring across both local and cloud platforms. By connecting to Wireless-Fidelity and Firebase, the ESP8266 provides stable updates with automatic reconnection routines to handle network interruptions.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>ESP8266 relay automation</kwd>
<kwd>Firebase realtime synchronization</kwd>
<kwd>Transformer-based energy cost prediction</kwd>
<kwd>Digital twin smart home control</kwd>
<kwd>Edge AI IoT integration</kwd>
</kwd-group>
<counts>
<fig-count count="6"/>
<table-count count="3"/>
<page-count count="9"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>Version accepted</meta-name>
<meta-value>4</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec>
<title><ext-link ext-link-type="uri" xlink:href="https://premierscience.com/wp-content/uploads/2025/15/pjs-25-1249.pdf">Source-File: pjs-25-1249.pdf</ext-link></title>
</sec>
<sec id="sec001" sec-type="intro">
<title>Introduction</title>
<p>With the increasing adoption of the Internet of Things (IoT), devices can now be controlled and monitored remotely, offering greater convenience and operational efficiency. Traditional control systems often lack remote management capabilities and fail to integrate advanced predictive or digital twin (DT) frameworks, which limits their functionality in today&#x2019;s interconnected world. To address these gaps, this project integrates the ESP8266 microcontroller with Firebase to control a relay and physical switch, providing both remote and manual control over a connected device, such as a bulb or appliance. The novelty of the work lies in three aspects: (i) the use of transformer-based regression for accurate cost prediction, (ii) the integration of IoT with a DT for real-time energy management, and (iii) the development of a reproducible pipeline with dataset and code release to ensure transparency and replicability</p>
</sec>
<sec id="sec002">
<title>Literature Survey</title>
<p>Home automation using traditional methods is extremely antiquated, when technology advances, based on that automation features are also evolving. Nowadays future prediction using machine learning has become very popular, it also gives an idea of how much energy utility is required and if its paired with Artificial intelligence it works wonderfully, it is possible to say where the energy management can be done well spent. Current technology such as advanced techniques as NLP interfaces to the humans and then executes the required functions. The possibility of new technologies like 6G to improve DT performance and scalability is also possible.<sup><xref ref-type="bibr" rid="ref1">1</xref></sup> DTs is a technology used probably in industrial applications.<sup><xref ref-type="bibr" rid="ref2">2</xref>,<xref ref-type="bibr" rid="ref3">3</xref></sup> Using a multi-energy complementarity approach, a cost-benefit analysis method for the combined operation of distribution network edge resources. The technique balances energy supply, demand, and storage in real time to assess operational and economic performance.<sup><xref ref-type="bibr" rid="ref4">4</xref></sup> An adaptive control system for energy optimization in consumer lighting based on the IoT supplies the answer to ensure the comfort of the users.<sup><xref ref-type="bibr" rid="ref5">5</xref></sup> The intelligent energy forecasting and management system called &#x201C;POWER VORTEX&#x201D; features a unique design that applies machine learning and the IoT technology that retrieves the requirements and optimizes energy consumption.<sup><xref ref-type="bibr" rid="ref6">6</xref></sup> A tailored federated learning method for cost-based load forecasting is presented for home energy management systems algorithms that adapt to each user&#x2019;s use patterns to forecast energy usage in the home while costs are emphasized.<sup><xref ref-type="bibr" rid="ref7">7</xref></sup> The IoT also introduces a power metering automation system while improving data quality and dependability in power marketing meters.<sup><xref ref-type="bibr" rid="ref8">8</xref></sup> Using an AI and DT architecture connects to optimize the development of feasible 6G networks<sup><xref ref-type="bibr" rid="ref9">9</xref></sup> provides a stronger and more efficient power grid.<sup><xref ref-type="bibr" rid="ref10">10</xref></sup> A next-generation energy management system used using an IoT gateway for smart monitoring and appliance control. It incorporates sensors, wireless communication, and automation protocols to optimize energy use, reduce wastage, and enhance user convenience.<sup><xref ref-type="bibr" rid="ref11">11</xref></sup> very short-term surplus energy forecasting model to support peer-to-peer energy trading in microgrids leverages real-time data and machine learning algorithms to accurately predict excess energy generation within minutes.<sup><xref ref-type="bibr" rid="ref12">12</xref></sup> IoT-based energy meter offers remote power usage accessibility, correct invoicing, and real-time monitoring.<sup><xref ref-type="bibr" rid="ref13">13</xref></sup> Through the use of sensors and smart meters to track abnormalities in energy consumption, the study suggests an IoT-based method for detecting electricity theft.<sup><xref ref-type="bibr" rid="ref14">14</xref></sup> The preparedness for deploying DT technology framework to assists the sector inmoving toward intelligent, data-driven operations through the use of DT technology.<sup><xref ref-type="bibr" rid="ref15">15</xref></sup></p>
</sec>
<sec id="sec003">
<title>Block Diagram</title>
<p>The block diagram shown in <xref ref-type="fig" rid="F1">Figure 1</xref> illustrates a smart energy management and automation system that enables users to remotely control electrical appliances while monitoring power consumption and estimating electricity costs. This system integrates multiple control methods to enhance convenience, accessibility, and energy efficiency.</p>
<fig id="F1" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100245.g001</object-id>
<label>Fig 1</label>
<caption><title>Block diagram</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1249-Figure-1.webp?">Figure 1</ext-link></p>
</fig>
<p>At the heart of the system is the Light Plug-In Hub, which acts as a central controller connecting electrical appliances to the internet. Users can define specific locations (e.g., home, office, or industry) and manage multiple devices based on their power requirements. The system stays connected through a Wireless-Fidelity (Wi-Fi) or mobile hotspot, ensuring seamless remote operation.</p>
<sec id="sec003-1">
<title>Hardware Implementation</title>
<p>The Model Z&#x2019;s hardware architecture is made to smoothly combine high-voltage load switching with low-voltage control electronics, guaranteeing dependability and safety. The NodeMCU ESP8266 is primarily responsible for processing and wireless communication, with a manual switch and specialized relay module enabling dual-mode actuation of the target load. The representative 30 W AC bulb acts as the demonstration load for real-time energy monitoring and AI-driven analytics, while a sturdy 230 V AC to 5 V DC converter provides clean power to the microcontroller and auxiliary components. To enable fault-tolerant operation, local override capability, and precise consumption data measurement, each component has been chosen and connected.</p>
</sec>
<sec id="sec003-2">
<title>NodeMCU ESP8266</title>
<p>The system<italic>&#x2019;</italic>s main microprocessor and Wi-Fi interface is the NodeMCU ESP8266. In addition to reading inputs (sensors, manual switches), it runs logic and sends and receives commands and data from the Firebase Realtime Database. It houses the control firmware. Its integrated Wi-Fi radio provides low-latency, secure cloud access, enabling remote users to obtain predictive analytics, monitor energy use, and toggle loads.</p>
</sec>
<sec id="sec003-3">
<title>5 V Single-Channel Relay Module</title>
<p>The low-voltage NodeMCU ESP8266 may securely turn on or off high-voltage AC loads by using the relay module, which functions as an electrical &#x201C;switch.&#x201D; The relay coil is activated by the onboard opto-isolator and transistor when the NodeMCU ESP8266 drives the relay&#x2019;s input pin HIGH. This closes the relay&#x2019;s normally-open contact and permits mains current to pass to the connected appliance. By doing this, the microcontroller is protected from hazardous voltage levels.</p>
</sec>
<sec id="sec003-4">
<title>One-Way Single-Pole, Single-Throw (SPST) Manual Switch</title>
<p>A local override is provided by the one-way single-pole, single-throw switch, which is connected in parallel with the relay&#x2019;s contact. The bulb is instantly energized when this switch is flipped, regardless of the NodeMCU ESP8266 or cloud command condition. While the NodeMCU ESP8266 keeps track of its location and syncs the status to Firebase, this guarantees continuous human control in the event of a network outage or per user preference.</p>
</sec>
<sec id="sec003-5">
<title>230 V AC to 5 V DC Converter</title>
<p>In order to provide a steady 5 V DC bus for the NodeMCU ESP8266, relay coil, and any other low-voltage circuits, this power module scales down and controls the conventional mains voltage (230 V AC). In order to guarantee dependable, continuous operation, it offers up to several hundred milliamperes of current with integrated safety measures (short-circuit and overvoltage protection).</p>
</sec>
<sec id="sec003-6">
<title>30 W AC Lamp (Load)</title>
<p>The main demonstrated load for the system is the lamp. It draws detectable current (e.g., about 130 mA at 230 V) when powered by a relay or manual switch, which enables the ACS712 current sensor to record actual power consumption. The accuracy of downstream AI-driven cost and energy estimates as well as actuation control are demonstrated by this real-world load.</p>
</sec>
</sec>
<sec id="sec004">
<title>Software</title>
<p>The Model Z&#x2019;s software architecture integrates cutting-edge AI, edge firmware, reliable cloud services, and a contemporary web front end into a single, integrated system: The user interface is constructed using Next.js and React.js, styled with Tailwind Cascading Style Sheets and shadcn/ui components, and enhanced with the G3S library for real-time data visualization; Appwrite handles backend state management and authentication in conjunction with Firebase&#x2019;s Realtime Database, while Express-based Firebase Functions and Node Cron run custom business logic and scheduled jobs (such as overnight data aggregation); the NodeMCU ESP8266 firmware is written in Embedded C to manage General Purpose Input/Output, sensor readings, and relay control; and, lastly, Google Generative Gemini AI Flash 2.0 powers AI services, including natural-language voice commands, chat responses, and cost-prediction inference.</p>
<sec id="sec004-1">
<title>Firebase</title>
<p>Firebase, which provides serverless computing, user authentication, and low-latency data synchronization, acts as the Model Z&#x2019;s real-time backbone. Each device&#x2019;s current state (on/off, energy readings) is stored in the Realtime Database, which provides real-time updates to the NodeMCU ESP8266 and front-end clients. The web/mobile app&#x2019;s user logins are secured by Firebase Authentication, and our proprietary business logic (such as command validation and energy usage aggregation) is hosted by Firebase Cloud Functions, which are developed with Express, and provide RESTful APIs for supporting functions. Without the need for dedicated servers, Firebase allows for scheduled data archival and analytics triggers when used in conjunction with Node Cron jobs administered via Cloud Functions. During network outages, the NodeMCU ESP8266 may queue commands locally thanks to offline persistence in the Realtime Database, which resynchronizes immediately when connectivity is restored.</p>
<p>End-to-end encryption and user authentication are used to safeguard all Firebase interactions in order to respect ethical standards in data processing. By storing only necessary sensor data and making sure that personally identifiable information is never gathered or communicated, the system complies with data minimization guidelines. These procedures support ethical IoT deployment and are in line with current data privacy laws.</p>
</sec>
<sec id="sec004-2">
<title>Google&#x2019;s Generative Gemini AI Flash 2.0</title>
<p>Google Generative Gemini AI Flash 2.0 is a cutting-edge multimodal model applied in real-time, fast inference environments, on edge or cloud. Voice commands captured by the mobile/web application within the Gemini Software Development kit are crunched into executable intents like &#x201C;turn on lamp&#x201D; or &#x201C;what&#x2019;s my energy cost so far?&#x201D; and sent to Firebase to be executed via RESTful API requests. The chatbot presents efficiency tips with detailed estimates (such as the daily bill) which are all derived from Flash 2.0 inference for the cost-prediction models which use consumption data sent to a dedicated AI server. Google&#x2019;s Generative Gemini AI Flash 2.0 was selected due to its superior performance relative to accuracy and compute efficiency to manage high-throughput work loads, utilizing transformer based models for both AI inference and accelerated learning. Gemini also was found to be more memory efficient and provide lower inference latency when compared to competitors, which is important when aiming to deliver real-time cost prediction. Furthermore, benchmark studies have found that the Gemini model family was superior profile than several contemporary LLMs in regression and natural language processing tasks which tipified Gemini as a reliable engine for integration with edge based frameworks like Model Z. Its integration with the Firebase ecosystem supports the integration of the Cloud infrastructure which is secure, and also works with RESTful API.</p>
</sec>
<sec id="sec004-3">
<title>Security and Privacy Considerations</title>
<p>Model Z security is important due to reliance on IoT endpoints and cloud services. The following action was taken to remedy common vulnerabilities in these types of systems. Data Encryption: All communication between the NodeMCU ESP8266 and Firebase, is encrypted by HTTPS (TLS 1.2) such that the sensor data and control signals are not vulnerable to man-in-the-middle attacks or eavesdropping. Authentication and Access Control: Any cloud resources need to confirm the device&#x2019;s identity pre-access. Firebase Authentication verifies the identity of the device, and secure API keys using token-based authentication prevent unwanted access to Firebase databases. These recommendations are avoided by over-the-air updates, updated in real time based on usage patterns. Firmware Integrity: All firmware updates of NodeMCU ESP8266 devices are cryptographically signed to validate its authenticity. The potential for malicious code injection is avoided in this manner during. Anomaly Detection: Google&#x2019;s Generative Gemini AI Flash 2.0 works alongside the back end to detect anomalous energy usage patterns that indicate unexpected appliance activity of a node that has been compromised. Secure Storage: To prevent manipulation or leaking when there is physical device infiltration, locally cached data on the NodeMCU ESP8266 is encrypted with AES-128.</p>
</sec>
<sec id="sec004-4">
<title>Network Attack Resilience</title>
<p>Illustrated in <xref ref-type="fig" rid="F2">Figure 2</xref> is a deliberately complex smart automation flowchart that allows energy management, remote access control, online real-time monitoring, and user identification. Coupling DT technology, voice identification, and power usage, this refined system provides efficiencies.</p>
<fig id="F2" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100245.g002</object-id>
<label>Fig 2</label>
<caption><title>Flowchart</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1249-Figure-2.webp?">Figure 2</ext-link></p>
</fig>
<sec id="sec004-4-1">
<title>Circuit Diagram</title>
<p>An intelligent lighting control system is illustrated in the circuit design of <xref ref-type="fig" rid="F3">Figure 3</xref> with the NodeMCU ESP8266 microcontroller as the main processing unit. The NodeMCU ESP8266 supports both automated and manual control of a light fixture, with its own dedicated power supply module. The light can be operated in manual mode using a physical push-button switch which transmits input signals to the NodeMCU ESP8266, and in automated mode, the NodeMCU ESP8266 can be programmed to operate based on an automated schedule or data from sensors. After receiving and processing input signals, the NodeMCU ESP8266 activates a relay module, which controls the power supply to the light fixture (as an electronic switch). When it is deactivated, the relay cuts the electricity flow to turn the light off. When it is activated, the relay allows electricity to pass through and turn on the light. Therefore, the system supports both automation and the ability to manually switch the light on and off, providing ease and flexibility of use. In addition, the user can control the lighting system remotely due to wireless connectivity (either Bluetooth or Wi-Fi) included as part of the system. By adding sensors, intelligent automation is made possible, improving user experience and energy savings by modifying lighting according to ambient circumstances.</p>
<fig id="F3" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100245.g003</object-id>
<label>Fig 3</label>
<caption><title>Circuit diagram</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1249-Figure-3.webp?">Figure 3</ext-link></p>
</fig>
</sec>
</sec>
</sec>
<sec id="sec005">
<title>Proposed Methodology</title>
<sec id="sec005-1">
<title>Data Acquisition</title>
<p>Model Z uses an ACS712 current sensor that is interfaced with the ESP8266 Node MCU to continually record electrical information in real time. The system assumes a fixed 230 V AC supply, and the sensor detects line current at 1-second intervals. Every measurement is instantly uploaded to the Firebase Realtime Database, including the timestamp, current reading, and deduced voltage value. Data integrity is preserved even during brief network failures by utilizing Firebase&#x2019;s offline-first caching and the NodeMCU ESP8266&#x2019;s integrated Wi-Fi. Automatic buffer retries make sure no samples are lost. <xref ref-type="table" rid="T1">Table 1</xref> shows the data set of the proposed system.</p>
<table-wrap id="T1">
<label>Table 1</label>
<caption><title>Dataset characteristics</title></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Characteristic</th>
<th valign="top" align="left">Details</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Collection Period</td>
<td valign="top" align="left">30 days</td>
</tr>
<tr>
<td valign="top" align="left">Total Samples</td>
<td valign="top" align="left">2,592,000</td>
</tr>
<tr>
<td valign="top" align="left">Features</td>
<td valign="top" align="left">Timestamp, Current (A), Voltage (V), Power (W), Energy (Wh), Hour of Day, Weekend Flag</td>
</tr>
<tr>
<td valign="top" align="left">Target Variable</td>
<td valign="top" align="left">Hourly Cost</td>
</tr>
<tr>
<td valign="top" align="left">Missing Values</td>
<td valign="top" align="left">None (automatic buffering &#x0026; retries)</td>
</tr>
<tr>
<td valign="top" align="left">Preprocessing</td>
<td valign="top" align="left">Outlier clipping (&#x003E;3 &#x03C3;), Min&#x2013;Max scaling</td>
</tr>
<tr>
<td valign="top" align="left">Train/Test Split</td>
<td valign="top" align="left">80% training, 20% testing (stratified by weekday/weekend)</td>
</tr>
<tr>
<td valign="top" align="left">Evaluation Metrics</td>
<td valign="top" align="left">mean absolute error (MAE) = &#x20B9;0.15/hour (in Indian Rupees), root mean squared error (RMSE) = &#x20B9; (in Indian Rupees) 0.20/hour</td>
</tr>
<tr>
<td valign="top" align="left">Data Source</td>
<td valign="top" align="left">ACS712 current sensor &#x0026; ESP8266 timestamps via Firebase</td>
</tr>
<tr>
<td valign="top" align="left">Sampling Interval</td>
<td valign="top" align="left">1 second</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec005-2">
<title>Feature Extraction and Preprocessing</title>
<p>The system calculates instantaneous power (P = I &#x00D7; V) and aggregates energy consumption over non-overlapping 60-second intervals once raw values are imported into Firebase. By deriving features like &#x201C;hour of day&#x201D; and a binary &#x201C;weekend vs. weekday&#x201D; marker, temporal context is added. A min&#x2013;max normalization is applied to all numerical characteristics, and any values that deviate more than three standard deviations from the mean are clipped to protect against sensor abnormalities. This preprocessing workflow guarantees consistent, outlier-resilient data and standardizes inputs for downstream modelling. To guarantee consistent input distribution throughout the transformer layers, all input features were normalized using Min-Max scaling with a fixed range of [0, 1]. The interquartile range (IQR) approach was used to identify power and current reading outliers, which were then limited to 1.5 &#x00D7; IQR above and below the upper and lower quartiles. One-hot encoding was used for categorical information like the weekday/weekend flag, and linear interpolation was used to impute missing data samples. To preserve temporal consistency and model accuracy, this preprocessing pipeline was regularly used on both training and inference datasets.</p>
</sec>
<sec id="sec005-3">
<title>Model Development</title>
<p>In order to predict the electricity cost for the following hour based on the pre-processed feature vectors, we employ a transformer-based regression network implemented in PyTorch. The model ingests a concatenation of normalized current, power, energy, and time embeddings, which are passed through a stack of four encoder layers with eight attention heads each, a hidden size of 256, and a feed-forward dimension of 512. This architecture uses self-attention to capture temporal dependencies and daily cycles of usage, like peaks from morning to evening. The network was trained using the Adam optimizer with a learning rate of 1e-4 and weight decay of 1e-5. Early stopping is utilized on validation MAE to mitigate overfitting. We trained the networks for 100 epochs with a batch size of 64. This architecture provides cost estimates that are more accurate than traditional time-series models because it is able to follow much longer temporal relationships.</p>
</sec>
<sec id="sec005-4">
<title>Evaluation</title>
<p>The dataset is split with an 80/20 (train/test) split and with stratifications for weekend vs. weekday samples so consumption variability is preserved. We also perform 5-fold cross-validation on the training set to validate robustness and eliminate overfitting. Predictive performance is evaluated based on MAE and RMSE. The model achieved MAE = &#x20b9;0.15/hour and RMSE = &#x20b9;0.20/hour on the test set with &#x00B1;0.02 95% confidence intervals on both measures. Residual analysis indicates that error rates remain under 5% even during high-load periods, confirming the transformer&#x2019;s ability to generalize across diverse daily consumption profiles. In the interest of reproducibly, we published a GitHub repository containing preprocessing scripts, the model code, and a pseudonymized dataset, which allows other researchers to replicate and/or extend this work.</p>
<sec id="sec005-4-1">
<title>Deployment and Integration</title>
<p>The completed model is containerized behind a cloud virtual machine (VM) that hosts a RESTful API. In order to obtain new cost projections, which are then saved back in Firebase and displayed on the web/mobile dashboard, the ESP8266 sends HTTPS requests to this endpoint every five minutes. Simultaneously, Node Cron tasks within Firebase Cloud Functions automate the archiving of data every night and initiate retraining pipelines upon the accumulation of new monthly usage data. For both analytics and chatbot engagements, this end-to-end connectivity ensures reliability and responsiveness while facilitating smooth, hands-off upgrades. The application is organized utilizing modular components&#x2014;frontend (Next.js), backend (Express), and services like Appwrite and Firebase&#x2014;to improve maintainability and system resilience.</p>
<p>We plan to release the training configurations and important hyperparameters (such as learning rate, batch size, number of transformer layers, and heads) utilized in the cost prediction model in order to encourage repeatability. A public GitHub repository will also be used to distribute preprocessing scripts, representative code snippets, and pseudonymized dataset access. This openness will encourage future improvements by the scientific community and enable independent validation.</p>
</sec>
</sec>
</sec>
<sec id="sec006">
<title>Comparison</title>
<p>The advantages of the suggested Model Z approach over conventional techniques are listed in <xref ref-type="table" rid="T2">Table 2</xref>. It offers more scalability and dependability by substituting flexible remote access through voice commands and apps for constrained, wired control. The system is more affordable because to the usage of Firebase and ESP8266, and features like interactive control and real-time updates greatly improve user experience.</p>
<table-wrap id="T2">
<label>Table 2</label>
<caption><title>Feature comparison chart</title></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Parameter</th>
<th valign="top" align="left">Existing Method</th>
<th valign="top" align="left">Proposed Method</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Control Method</td>
<td valign="top" align="left">Wired switches or local servers.</td>
<td valign="top" align="left">Controlled remotely via web interface, mobile app, or voice commands.</td>
</tr>
<tr>
<td valign="top" align="left">Accessibility</td>
<td valign="top" align="left">Limited to specific locations, requires specialized infrastructure.</td>
<td valign="top" align="left">Accessible globally via internet-enabled devices with real-time updates.</td>
</tr>
<tr>
<td valign="top" align="left">Scalability</td>
<td valign="top" align="left">Limited by wiring infrastructure, requires major modifications.</td>
<td valign="top" align="left">Easily scalable by adding more devices without infrastructure changes.</td>
</tr>
<tr>
<td valign="top" align="left">Reliability</td>
<td valign="top" align="left">Dependent on local servers, vulnerable power and network failures.</td>
<td valign="top" align="left">Enhanced reliability with Firebase auto-reconnection and redundancy.</td>
</tr>
<tr>
<td valign="top" align="left">Cost Efficiency</td>
<td valign="top" align="left">Expensive, requires dedication servers and infrastructure.</td>
<td valign="top" align="left">Cost-effective with low- cost ESP8266, cloud-based Firebase, and minimal hardware.</td>
</tr>
<tr>
<td valign="top" align="left">User Experience</td>
<td valign="top" align="left">Requires physical intervention for adjustments, less dynamic.</td>
<td valign="top" align="left">Seamless and interactive user experience with voice control, app-based access, and analytics.</td>
</tr>
<tr>
<td valign="top" align="left">Power Prediction Accuracy</td>
<td valign="top" align="left">85%</td>
<td valign="top" align="left">94%</td>
</tr>
<tr>
<td valign="top" align="left">Cost Savings Per Month</td>
<td valign="top" align="left">120 Rupees</td>
<td valign="top" align="left">185 Rupees</td>
</tr>
<tr>
<td valign="top" align="left">Response Latency</td>
<td valign="top" align="left">400 ms</td>
<td valign="top" align="left">150 ms</td>
</tr>
<tr>
<td valign="top" align="left">Data Loss During Transfer</td>
<td valign="top" align="left">5.2%</td>
<td valign="top" align="left">1.1%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In Model Z, we adopt a threat-model approach focusing on three primary assets: (i) device firmware and hardware endpoints (ESP8266 and connected relays), (ii) cloud services and databases (Firebase), and (iii) user interfaces and authentication tokens. The main adversaries are assumed to be:</p>
<p>External attackers attempting man-in-the-middle interception or denial-of-service (DoS).</p>
<p>Malicious insiders misusing credentials or injecting false commands.</p>
<p>Physical adversaries tampering with deployed edge devices.</p>
<p>Attack surfaces include wireless communication channels (Wi-Fi), cloud database APIs, and local device storage. To mitigate these risks, our implementation employs TLS 1.2 encryption, token-based authentication, cryptographic signing of firmware, and AES-128 local data storage. Firebase&#x2019;s integrated DDoS resistance and request throttling further reduce vulnerability to large-scale network attacks.</p>
<p>To empirically validate these claims, we performed basic penetration testing using standard tools (Nmap for port scanning, OWASP ZAP for API fuzzing, and brute-force login attempts on Firebase endpoints). Results confirmed that unused ports were closed, no sensitive data leaks occurred, and repeated failed login attempts were correctly rate-limited by Firebase&#x2019;s adaptive security layer. While comprehensive red-team testing is left as future work, these preliminary results demonstrate resilience against common IoT attack vectors.</p>
<p>By combining a structured threat-model analysis with initial penetration-test validation, the Model Z framework strengthens its ethical and secure deployment posture. Future enhancements will include continuous security monitoring, formal vulnerability assessments, and exploration of edge-based intrusion detection models.</p>
</sec>
<sec id="sec007">
<title>Result Analysis</title>
<sec id="sec007-1">
<title>Experimental Setup</title>
<p>We used a 30 W lamp as the load and set up the ESP8266 NodeMCU and ACS712 current sensor in a controlled lab setting to simulate a small home circuit in order to assess Model Z. Current and voltage samples were taken once every second for a total of 48 hours. Time stamps and all raw readings were transmitted to the Firebase Realtime Database. The NodeMCU ESP8266 polled the transformer-based cost-prediction API every five minutes while it was operating in a cloud VM. End-to-end latency and throughput were measured by testing front-end dashboards and chatbot inquiries on desktop and mobile browsers with Wi-Fi and 4G connectivity (Algorithm 1).</p>
</sec>
<sec id="sec007-2">
<title>Performance Evaluation</title>
<p>The model produced the following results on the held-out test set (20% of 4,147,200 total samples):</p>
<list list-type="order">
<list-item><p>MAE: &#x20b9;0.12/hour</p></list-item>
<list-item><p>RMSE: &#x20b9;0.18/hour</p></list-item>
<list-item><p>R&#x00B2; score: 0.94</p></list-item>
</list>
<table-wrap id="AT1">
<label>Algorithm 1</label>
<caption><title>Transformer based regression network</title></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<tbody>
<tr>
<td valign="top" align="left">Model Z&#x2019;s transformer-based regression model analyse multivariate time series data from eleven IoT sensors. In order to learn inter-feature correlations, stacked transformer encoder layers employ multi-head self-attention after positional encoding is used to capture time dependencies. Normalization, residual connections, and feedforward networks are all included in each encoder layer. To anticipate the energy cost for the next sixty minutes, the output is condensed into a fixed-size vector via a pooling layer and then sent through a regression head (dense layers). Mean squared error (MAE) and RMSE are used to evaluate the model after it has been trained. The proposed transformer-based model demonstrates adaptability to different geographic regions and utility tariff structures through retraining and transfer learning techniques. When deployed in a new region with distinct electricity pricing models or consumption patterns, the model can be fine-tuned using local data while retaining the pre-trained temporal and consumption representations. This reduces training time and ensures contextual relevance. Moreover, tariff embedding layers can be modified or expanded to incorporate regional variations, enabling cost prediction aligned with localized billing schemes. Such modular adaptability enhances the system&#x2019;s scalability and cross-regional deployment feasibility</td>
</tr>
<tr>
<td valign="top" align="left">Input:<break/>Feature vector comprising:
<list list-type="order">
<list-item><p>Current normalized (A)</p></list-item>
<list-item><p>Power instantaneous (W)</p></list-item>
<list-item><p>Total energy during previous 60 seconds (Wh)</p></list-item>
<list-item><p>Time of day (0&#x2013;23) embedding</p></list-item>
<list-item><p>Weekday/weekend flag</p></list-item>
</list>
</td>
</tr>
<tr>
<td valign="top" align="left">Output:<break/>Estimated power cost (&#x20B9;) for the next 60 minutes</td>
</tr>
<tr>
<td valign="top" align="left">Steps:</td>
</tr>
<tr>
<td valign="top" align="left">Steps:
<list list-type="order">
<list-item><p>Load Firebase feature sequences that have already been pre-processed.</p></list-item>
<list-item><p>Position-encode time embeddings and tokenize them.</p></list-item>
<list-item><p>Propagate forward through the layers of transformers.</p></list-item>
<list-item><p>Use a regression head to decode the pooled representation.</p></list-item>
<list-item><p>During training, calculate loss (MAE) and backpropagate.</p></list-item>
<list-item><p>For inference, serialize the learned model as a RESTful endpoint.</p></list-item>
</list>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>With error margins less than 2% of average hourly rates, these measurements demonstrate strong predictive accuracy. Latency measurements indicate an average end-to-end prediction time of 180 ms (ESP8266 request &#x2192; API response) and a Firebase synchronization delay of 220 ms, ensuring near real-time responsiveness. A controlled 30-day comparative study between manually operated appliances and Model Z-controlled appliances revealed an average 14.7% reduction in energy consumption under identical climatic conditions and usage schedules. The adaptive control logic, which dynamically adjusts operation durations based on real-time consumption patterns, was primarily responsible for this improvement. High-power equipment, such as a 1000 W induction cooktop, showed energy savings of up to 21% due to optimized idle-time cutoffs and peak-time avoidance. To benchmark predictive performance, baseline models including ARIMA, LSTM, and linear regression were implemented. While all models provided reasonable forecasts, the transformer consistently achieved lower error rates and higher R&#x00B2; values, confirming its superiority in capturing temporal dependencies and daily usage cycles. Statistical significance tests (paired t-tests and Wilcoxon signed-rank tests) confirmed the proposed transformer-based method outperforms these baseline methods quite significantly (<italic>P</italic> &#x003C; 0.01). Latency results revealed an average end-to-end latency of 400 ms across all users (180 ms inference + 220 ms Firebase synchronization), which is within acceptable limits to provide real-time energy management applications. In high-speed automation in particular, latencies over 500 ms may impact user experience. Future versions of Model Z may involve on-device inference or edge computing approaches to further reduce cloud reliance and improve overall latencies.</p>
<sec id="sec007-2-1">
<title>Error Analysis and Mitigation Strategies</title>
<p>There are a number of variables that can lead to prediction errors in the Model Z system, including inaccurate sensors, network latency, and environmental fluctuations. Real-time data can be inaccurate if the current and voltage metrics provided by the sensors are out of date from sensor drift or interference, and forecasts can be offset if there are network failures during Firebase syncs or API connections. The model also cannot make an accurate forecast without finding matching data timestamps, so care should be taken to recalibrate sensors on a regular basis and timestamps using synchronization measures. Fallback buffers could also retain data integrity during network outages, and adaptive sampling techniques could additionally reduce noise. Robustness could also be achieved by utilizing hybrid logic which combines short-term smoothing of forecasts with real-time sensor data. These methods ensure improvement in prediction accuracy and reliability for projected energy costs.</p>
</sec>
<sec id="sec007-2-2">
<title>Real-time Prediction Simulation</title>
<p>By repeating 24 hours of recorded sensor data at real-time speed, we were able to replicate continuous operation. The NodeMCU ESP8266 simultaneously logged new consumption data and requested a new cost projection every five minutes. Without any disruptions, the system generated 288 hourly projections every day, updating the dashboard and chatbot context with ease. Firebase&#x2019;s offline caching queued updates during the simulated network outages; all buffered commands and sensor readings synchronized without any loss upon reconnection.</p>
</sec>
</sec>
<sec id="sec007-3">
<title>Voltage Usage Trend Analysis</title>
<p>Monthly voltage patterns for the previous and current years over a 12-month period are shown in the <xref ref-type="fig" rid="F4">Figures 4</xref> and <xref ref-type="fig" rid="F5">5</xref>. The other years are also taken into account on the similar way. With only little differences between the two timelines, the voltage values are comparatively constant throughout the year. This stability confirms the correctness of the sensor data collected by the Model Z monitoring system and shows steady grid health. The information guarantees the safe operation of linked equipment and facilitates real-time diagnostics.</p>
<fig id="F4" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100245.g004</object-id>
<label>Fig 4</label>
<caption><title>Voltage trend analysis</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1249-Figure-4.webp?">Figure 4</ext-link></p>
</fig>
<fig id="F5" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100245.g005</object-id>
<label>Fig 5</label>
<caption><title>Voltage trend analysis</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1249-Figure-5.webp?">Figure 5</ext-link></p>
</fig>
</sec>
<sec id="sec007-4">
<title>System Scalability and Load Diversity Validation</title>
<p>We carried out extra tests using a range of electrical loads to evaluate the scalability and reliability of Model Z beyond the basic test case utilizing a 30 W incandescent lamp. These comprised:</p>
<list list-type="order">
<list-item><p>A 100 W ceiling fan</p></list-item>
<list-item><p>A 200 W blender</p></list-item>
<list-item><p>A 500 W room heater</p></list-item>
<list-item><p>A 1000 W induction cooktop</p></list-item>
</list>
<p>One by one, each gadget was linked to the system while being monitored and controlled in the same way. There were no overheating, latency, or communication issues, and the system responded to control signals and operated steadily under all load conditions. This proves the Model Z&#x2019;s applicability for practical smart home applications by showcasing its versatility in handling a variety of household equipment. Even when the load was at its greatest, response times stayed below 1.2 seconds, and power values stayed accurate (with a &#x00B1;5% variance from calibrated energy meters).</p>
</sec>
<sec id="sec007-5">
<title>Real-world Deployment Scenarios</title>
<p>Over the course of 6 weeks, a pilot smart home trial was carried out in two residential flats to confirm the Model Z&#x2019;s practicality outside of lab settings. NodeMCU ESP8266-based modules were utilized to deploy the systems, and they were linked to a range of widely used home appliances. Through a specialized mobile dashboard, daily cost projections and real-time energy consumption were tracked. In spite of sporadic Wi-Fi outages, system records showed over 98.7% uptime, and tenant feedback validated usability. During outages, Firebase&#x2019;s offline persistence guaranteed continuous local control. Notably, the transformer-based model proved its resilience in uncontrolled situations by continuing to produce accurate cost projections (MAE &#x003C; 0.15/h) across a variety of real-world usage patterns.</p>
</sec>
<sec id="sec007-6">
<title>Sample Prediction Results</title>
<p>Five 1-hour estimates vs. actual expenses are displayed in <xref ref-type="table" rid="T3">Table 3</xref>, with errors continuously falling below &#x20b9;0.15. For instance, the cost of &#x20b9;6.45 at 8:00 am was estimated to be &#x20b9;6.52 (error &#x20b9;0.07), and the cost of &#x20b9;12.30 (in Rupees) at 6:00 pm was estimated to be &#x20b9;12.15 (error &#x20b9;0.15). These findings demonstrate that Model Z+ provides precise, low-latency forecasts under various load scenarios.</p>
<table-wrap id="T3">
<label>Table 3</label>
<caption><title>Sample predicted vs. actual cost</title></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Timestamp</th>
<th valign="top" align="left">Actual Cost (&#x20B9;)</th>
<th valign="top" align="left">Predicted Cost (&#x20B9;)</th>
<th valign="top" align="left">Absolute Error (&#x20B9;)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">2025-04-28 08:00</td>
<td valign="top" align="left">6.45</td>
<td valign="top" align="left">6.52</td>
<td valign="top" align="left">0.07</td>
</tr>
<tr>
<td valign="top" align="left">2025-04-28 12:00</td>
<td valign="top" align="left">9.20</td>
<td valign="top" align="left">9.10</td>
<td valign="top" align="left">0.10</td>
</tr>
<tr>
<td valign="top" align="left">2025-04-28 18:00</td>
<td valign="top" align="left">12.30</td>
<td valign="top" align="left">12.15</td>
<td valign="top" align="left">0.15</td>
</tr>
<tr>
<td valign="top" align="left">2025-04-28 22:00</td>
<td valign="top" align="left">8.75</td>
<td valign="top" align="left">8.80</td>
<td valign="top" align="left">0.05</td>
</tr>
<tr>
<td valign="top" align="left">2025-04-29 06:00</td>
<td valign="top" align="left">5.10</td>
<td valign="top" align="left">5.05</td>
<td valign="top" align="left">0.05</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec007-7">
<title>Javascript XML (JSX) vs. Typescript XML (TSX): Feature Comparison Chart</title>
<p><xref ref-type="fig" rid="F6">Figure 6</xref> illustrates the comparative performance of the Model Z system across three important criteria: reliability, synchronization speed, and energy efficiency, each scored from 0 to 100. The results show that the system achieves high synchronization accuracy with Firebase, ensuring device states remain consistent across local and remote control. Reliability scores are strengthened by automatic reconnection routines, which minimize disruptions during network interruptions. Energy efficiency benefits from adaptive control logic that optimizes appliance usage in real time. Together, these factors highlight the robustness of Model Z for scalable, error-resistant automation in smart environments.</p>
<fig id="F6" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100245.g006</object-id>
<label>Fig 6</label>
<caption><title>JSX vs. TSX</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1249-Figure-6.webp?">Figure 6</ext-link></p>
</fig>
</sec>
</sec>
<sec id="sec008" sec-type="conclusions">
<title>Conclusion</title>
<p>In the proposed Model Z system metrics including usability, responsiveness, perceived dependability, and general satisfaction will be recorded using surveys and feedback forms. Test users&#x2019; initial response has shown positive engagement, indicating that the system&#x2019;s user interface, automation responsiveness, and feedback mechanisms meet user expectations. A favorable cost-benefit profile supports the Model Z system&#x2019;s cost-efficiency. For small-scale deployments, Firebase&#x2019;s Spark Plan provides free real-time database, authentication, and hosting services, greatly lowering the cost of backend infrastructure. On the other hand, conventional local servers would need more upkeep and hardware. Hardware costs are further reduced by using open-source platforms and inexpensive NodeMCU ESP8266 modules (less than &#x20b9;300 per). This design offers significant cost reductions without sacrificing functionality as compared to proprietary automation systems, making it a good choice for both scaled smart home applications and consumers on a tight budget. Future research will concentrate on improving the system&#x2019;s intelligence and resilience by implementing hybrid offline-online operation modes that permit a limited amount of functionality in the event of an internet outage. In order to lessen dependency on cloud-based inference and enhance response times, we also want to investigate the implementation of edge AI on regional microcontrollers like the ESP32 or Raspberry Pi. These enhancements, along with model retraining for regional tariff adaptability and integration with smart grid protocols, will expand the applicability of Model Z in diverse environments.</p>
</sec>
</body>
<back>
<fn-group>
<fn id="n1" fn-type="other">
<p>Additional material is published online only. To view please visit the journal online.</p>
<p><bold>Cite this as:</bold> Hemananth B, Pushpalatha N, Govindaraj V, Keerthika T, Pavadarani SP, Srikiruthika S and Yakavi B. Model Z: Revolutionizing IoT Integration with Advanced Digital Twin Technology. Premier Journal of Science 2025;15:100245</p>
<p><bold>DOI:</bold> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.70389/PJS.100245">https://doi.org/10.70389/PJS.100245</ext-link></p>
</fn>
<fn id="n2" fn-type="other">
<p><bold>Ethical approval</bold></p>
<p>N/a</p>
</fn>
<fn id="n3" fn-type="other">
<p><bold>Consent</bold></p>
<p>N/a</p>
</fn>
<fn id="n4" fn-type="other">
<p><bold>Funding</bold></p>
<p>No industry funding</p>
</fn>
<fn id="n5" fn-type="conflict">
<p><bold>Conflicts of interest</bold></p>
<p>N/a</p>
</fn>
<fn id="n6" fn-type="other">
<p><bold>Author contribution</bold></p>
<p>B. Hemananth, N. Pushpalatha, V. Govindaraj, T. Keerthika, S. P. Pavadarani, S. Srikiruthika and B. Yakavi &#x2013; Conceptualization, Writing &#x2013; original draft, review and editing</p>
</fn>
<fn id="n7" fn-type="other">
<p><bold>Guarantor</bold></p>
<p>B. Hemananth</p>
</fn>
<fn id="n8" fn-type="other">
<p><bold>Provenance and peer-review</bold></p>
<p>Unsolicited and externally peer-reviewed</p>
</fn>
<fn id="n9" fn-type="other">
<p><bold>Data availability statement</bold></p>
<p>N/a</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="ref1"><label>1</label><mixed-citation publication-type="journal"><string-name><surname>Hassija</surname> <given-names>V</given-names></string-name>, <string-name><surname>Chamola</surname> <given-names>V</given-names></string-name>, <string-name><surname>De</surname> <given-names>R</given-names></string-name>, <string-name><surname>Das</surname> <given-names>S</given-names></string-name>, <string-name><surname>Chakrabarti</surname> <given-names>A</given-names></string-name>, <string-name><surname>Singh</surname> <given-names>K</given-names></string-name>, <etal>et al.</etal> <article-title>A survey on digital twins: enabling technologies, use cases, application, open issues, and more</article-title>. <source>IEEE J Sel Areas Sens</source>. <year>2025</year>;<volume>2</volume>:<fpage>84</fpage>&#x2013;<lpage>107</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/JSAS.2024.3523856">https://doi.org/10.1109/JSAS.2024.3523856</ext-link></mixed-citation></ref>
<ref id="ref2"><label>2</label><mixed-citation publication-type="journal"><string-name><surname>Prova</surname> <given-names>NNI</given-names></string-name>, <string-name><surname>Kassetty</surname> <given-names>N</given-names></string-name>, <string-name><surname>Vardhineedi</surname> <given-names>PN</given-names></string-name>, <string-name><surname>Hassan</surname> <given-names>A</given-names></string-name>, <string-name><surname>Punjabi</surname> <given-names>VN</given-names></string-name>, <string-name><surname>Ravi</surname> <given-names>V</given-names></string-name>. <article-title>Advancing predictive maintenance and asset management through digital twin technology: a step towards industry 4.0</article-title>. In: <source>2025 first international conference on advances in computer science, electrical, electronics, and communication technologies (CE2CT)</source>, <publisher-loc>Bhimtal, Nainital, India</publisher-loc>; <year>2025</year>. p. <fpage>1179</fpage>&#x2013;<lpage>85</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/CE2CT64011.2025.10939840">https://doi.org/10.1109/CE2CT64011.2025.10939840</ext-link></mixed-citation></ref>
<ref id="ref3"><label>3</label><mixed-citation publication-type="journal"><string-name><surname>Agouzoul</surname> <given-names>A</given-names></string-name>, <string-name><surname>Simeu</surname> <given-names>E</given-names></string-name>, <string-name><surname>Tabaa</surname> <given-names>M</given-names></string-name>. <article-title>Enhancement of building energy consumption using a digital twin based neural network model predictive control</article-title>. In: <source>2023 international conference on control, automation and diagnosis (ICCAD)</source>, <publisher-loc>Rome, Italy</publisher-loc>; <year>2023</year>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICCAD57653.2023.10152308">https://doi.org/10.1109/ICCAD57653.2023.10152308</ext-link></mixed-citation></ref>
<ref id="ref4"><label>4</label><mixed-citation publication-type="journal"><string-name><surname>Li</surname> <given-names>T</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>B</given-names></string-name>, <string-name><surname>Liao</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>Z</given-names></string-name>. <article-title>Research on the cost-benefit analysis method for joint operation of distribution network edge resources based on multi-energy complementarity</article-title>. In: <source>2025 international conference on electrical automation and artificial intelligence (ICEAAI)</source>, <publisher-loc>Guangzhou, China</publisher-loc>; <year>2025</year>. p. <fpage>235</fpage>&#x2013;<lpage>40</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICEAAI64185.2025.10957000">https://doi.org/10.1109/ICEAAI64185.2025.10957000</ext-link></mixed-citation></ref>
<ref id="ref5"><label>5</label><mixed-citation publication-type="journal"><string-name><surname>Pandey</surname> <given-names>SK</given-names></string-name>, <string-name><surname>Goyal</surname> <given-names>P</given-names></string-name>, <string-name><surname>Pandey</surname> <given-names>RK</given-names></string-name>, <string-name><surname>Panigrahi</surname> <given-names>BK</given-names></string-name>. <article-title>Energy optimization in consumer lightings: an IoT-based adaptive control mode</article-title>. <source>IEEE Trans Consum Electron</source>. <year>2025</year>;<volume>71</volume>:<fpage>2285</fpage>&#x2013;<lpage>96</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TCE.2025.3531131">https://doi.org/10.1109/TCE.2025.3531131</ext-link></mixed-citation></ref>
<ref id="ref6"><label>6</label><mixed-citation publication-type="journal"><string-name><surname>Shibu</surname> <given-names>S</given-names></string-name>, <string-name><surname>Ashwin</surname> <given-names>A</given-names></string-name>, <string-name><surname>Gopal</surname> <given-names>S</given-names></string-name>, <string-name><surname>Anil</surname> <given-names>A</given-names></string-name>, <string-name><surname>Moorthy</surname> <given-names>DK</given-names></string-name>. <article-title>POWER VORTEX - smart energy forecasting and management with IoT and machine learning</article-title>. In: <source>2025 emerging technologies for intelligent systems (ETIS)</source>, <publisher-loc>Trivandrum, India</publisher-loc>; <year>2025</year>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ETIS64005.2025.10961294">https://doi.org/10.1109/ETIS64005.2025.10961294</ext-link></mixed-citation></ref>
<ref id="ref7"><label>7</label><mixed-citation publication-type="journal"><string-name><surname>Barja-Martinez</surname> <given-names>S</given-names></string-name>, <string-name><surname>Teng</surname> <given-names>F</given-names></string-name>, <string-name><surname>Junyent-Ferr&#x00E9;</surname> <given-names>A</given-names></string-name>, <string-name><surname>Arag&#x00FC;&#x00E9;s-Pe&#x00F1;alba</surname> <given-names>M</given-names></string-name>. <article-title>Personalized federated learning with cost-oriented load forecasting for home energy management systems</article-title>. <source>IEEE Trans Ind Appl</source>. <year>2025</year>;<volume>61</volume>(<issue>1</issue>)<fpage>1410</fpage>&#x2013;<lpage>9</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TIA.2024.3462668">https://doi.org/10.1109/TIA.2024.3462668</ext-link></mixed-citation></ref>
<ref id="ref8"><label>8</label><mixed-citation publication-type="journal"><string-name><surname>Samreen</surname> <given-names>S</given-names></string-name>, <string-name><surname>Chanti</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Mounika</surname> <given-names>P</given-names></string-name>, <string-name><surname>Mandava</surname> <given-names>M</given-names></string-name>, <string-name><surname>Kruthika</surname> <given-names>CG</given-names></string-name>. <article-title>IoT-based power metering automation for improving data integrity and reliability in power marketing meters</article-title>. In: <source>2023 international conference on evolutionary algorithms and soft computing techniques (EASCT)</source>, <publisher-loc>Bengaluru, India</publisher-loc>; <year>2023</year>. p. <fpage>1</fpage>&#x2013;<lpage>7</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/EASCT59475.2023.10392690">https://doi.org/10.1109/EASCT59475.2023.10392690</ext-link></mixed-citation></ref>
<ref id="ref9"><label>9</label><mixed-citation publication-type="journal"><string-name><surname>Xu</surname> <given-names>D</given-names></string-name>, <string-name><surname>Su</surname> <given-names>X</given-names></string-name>, <string-name><surname>Tarkoma</surname> <given-names>S</given-names></string-name>, <string-name><surname>Hui</surname> <given-names>P</given-names></string-name>. <article-title>Toward sustainable 6G leveraging digital twin and artificial intelligence: framework and case study</article-title>. <source>IEEE Commun Mag</source>. <year>2025</year>;<volume>63</volume>:<fpage>119</fpage>&#x2013;<lpage>25</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/MCOM.003.2400389">https://doi.org/10.1109/MCOM.003.2400389</ext-link></mixed-citation></ref>
<ref id="ref10"><label>10</label><mixed-citation publication-type="journal"><string-name><surname>Pushpalatha</surname> <given-names>N</given-names></string-name>, <string-name><surname>Mohanram</surname> <given-names>S</given-names></string-name>, <string-name><surname>Yuvaraj</surname> <given-names>R</given-names></string-name>, <string-name><surname>Banu</surname> <given-names>G</given-names></string-name>. <article-title>AI-based power quality improvement of a ups for a sustainable electrical network</article-title>. <source>J Environ Prot Ecol</source>. <year>2023</year>;<volume>24</volume>(<issue>6</issue>):<fpage>2000</fpage>&#x2013;<lpage>11</lpage>.</mixed-citation></ref>
<ref id="ref11"><label>11</label><mixed-citation publication-type="journal"><string-name><surname>Kabra</surname> <given-names>S</given-names></string-name>, <string-name><surname>Nadagouda</surname> <given-names>P</given-names></string-name>, <string-name><surname>Nikam</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Kavedia</surname> <given-names>MS</given-names></string-name>. <article-title>Next-gen energy management: IoT gateway for smart monitoring and appliance control</article-title>. In: <source>2025 6th international conference on mobile computing and sustainable informatics (ICMCSI)</source>, <publisher-loc>Goathgaun, Nepal</publisher-loc>; <year>2025</year>. p. <fpage>259</fpage>&#x2013;<lpage>66</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICMCSI64620.2025.10883475">https://doi.org/10.1109/ICMCSI64620.2025.10883475</ext-link></mixed-citation></ref>
<ref id="ref12"><label>12</label><mixed-citation publication-type="journal"><string-name><surname>Hariharan</surname> <given-names>R</given-names></string-name>, <string-name><surname>Pushpalatha</surname> <given-names>N</given-names></string-name>, <string-name><surname>Rubikaa</surname> <given-names>M</given-names></string-name>, <string-name><surname>Jeeva</surname> <given-names>M</given-names></string-name>, <string-name><surname>Kunguma Divya</surname> <given-names>M</given-names></string-name>, <string-name><surname>Jayakumar</surname> <given-names>S</given-names></string-name>. <article-title>An intelligence gathering cyborg aided by the Internet of Things (IoT)</article-title>. In: <source>2022 8th international conference on smart structures and systems (ICSSS)</source>, <publisher-loc>Chennai, India</publisher-loc>; <year>2022</year>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICSSS54381.2022.9782266">https://doi.org/10.1109/ICSSS54381.2022.9782266</ext-link></mixed-citation></ref>
<ref id="ref13"><label>13</label><mixed-citation publication-type="journal"><string-name><surname>Sunitha</surname> <given-names>SV</given-names></string-name>, <string-name><surname>Aditya</surname> <given-names>V</given-names></string-name>, <string-name><surname>Srikanth</surname> <given-names>BR</given-names></string-name>. <article-title>IoT based energy meter</article-title>. In: <source>2025 international conference on intelligent and innovative technologies in computing, electrical and electronics (IITCEE)</source>, <publisher-loc>Bangalore, India</publisher-loc>; <year>2025</year>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/IITCEE64140.2025.10915439">https://doi.org/10.1109/IITCEE64140.2025.10915439</ext-link></mixed-citation></ref>
<ref id="ref14"><label>14</label><mixed-citation publication-type="journal"><string-name><surname>Mohanraj</surname> <given-names>C</given-names></string-name>, <string-name><surname>Pushpalatha</surname> <given-names>N</given-names></string-name>, <string-name><surname>Muthumanidevi</surname> <given-names>B</given-names></string-name>, <string-name><surname>Amirtha Varsheni</surname> <given-names>S</given-names></string-name>, <string-name><surname>Sivakumar</surname> <given-names>R</given-names></string-name>, <string-name><surname>Sharma</surname> <given-names>V</given-names></string-name>. <article-title>Conspiracy in the stealing of electricity detection through the IOT</article-title>. In: <source>2023 3rd international conference on innovative practices in technology and management (ICIPTM)</source>, <publisher-loc>Uttar Pradesh, India</publisher-loc>; <year>2023</year>. p. <fpage>1</fpage>&#x2013;<lpage>5</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICIPTM57143.2023.10117849">https://doi.org/10.1109/ICIPTM57143.2023.10117849</ext-link></mixed-citation></ref>
<ref id="ref15"><label>15</label><mixed-citation publication-type="journal"><string-name><surname>Anthonypillailionel</surname> <given-names>D</given-names></string-name>, <string-name><surname>Oruthotaarachchi</surname> <given-names>CR</given-names></string-name>. <article-title>Analyzing the readiness for digital twin implementation in the apparel industry: a systematic review</article-title>. In: <source>2025 5th international conference on advanced research in computing (ICARC)</source>, <publisher-loc>Belihuloya, Sri Lanka</publisher-loc>; <year>2025</year>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICARC64760.2025.10963261">https://doi.org/10.1109/ICARC64760.2025.10963261</ext-link></mixed-citation></ref>
</ref-list>
</back>
</article>
