Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2026 Jul 27;26(15):4768. doi: 10.3390/s26154768

Energy- and Cost-Efficient Healthcare Task Offloading via Network Edge Digital Twin

Ayesha Jadoon 1, Hao Ran Chi 1,*, Daniel Corujo 1, Francisco J Ferrão 2, Rui L Aguiar 1
Editor: Chung Horng Lung
PMCID: PMC13468720  PMID: 42590544

Abstract

This paper proposes a digital twin (DT)-enabled edge computing framework for healthcare task offloading in smart medical environments. The DT maintains a continuously synchronized virtual representation of the physical edge system, capturing queue states, resource utilization, and energy dynamics. Based on this virtual state, a deterministic optimization model is formulated to support real-time offloading and scheduling decisions under latency, energy, and fairness constraints. Unlike prediction-only approaches, the proposed DT operates in a closed-loop manner, where state estimation and synchronization directly influence scheduling feasibility and system performance. The offloading problem is formulated as a mixed-integer linear programming (MILP) model to jointly optimize task allocation, delay minimization, and energy efficiency. The simulated workload includes 10,000 heterogeneous healthcare applications. At each time slot, one to five tasks are generated and uniformly selected from ECG, video-processing, or medical-imaging workloads, with average task sizes of 90 KB, 280 KB, and 150 KB, respectively. This setup aims to emulate diverse real-world healthcare edge workloads with varying communication and computation demands. The proposed approach significantly reduces average latency by up to 57%, eliminates task drops in all evaluated scenarios, and improves load balancing compared with hospital-only and round-robin baselines. Although total energy consumption increases moderately, energy efficiency per completed task improves due to more effective scheduling by stability, reducing deadline violations and enhancing resource utilization. We further analyze the impact of DT freshness and updated frequency and show that outdated or misaligned DT updates can degrade performance by increasing delay and leading to suboptimal decisions, while overly frequent updates introduce additional coordination overhead. These results highlight the importance of jointly designing DT synchronization mechanisms and optimization-based scheduling strategies for reliable and cost-efficient healthcare edge systems.

Keywords: digital twin, edge computing, healthcare IoT, resource fairness, energy consumption, DT freshness, heuristic approaches

1. Introduction

The Internet of Things (IoT) has become an important part of modern healthcare systems by enabling continuous and real-time monitoring through connected wearable sensors, medical devices, and edge computing technologies [1,2]. These IoT-based systems enable efficient collection, transmission, and processing of patient data, improving healthcare services through early disease detection, personalised treatments, and remote patient monitoring [3]. However, the growing number of connected IoT devices also creates major challenges in managing and scheduling computational tasks. In reference [4], healthcare IoT environments often face limited computing and energy resources, changing workloads, strict response-time requirements, and the need for reliable data processing in critical medical situations. Because of these factors, efficiently distributing and scheduling tasks across IoT networks is a difficult, complex problem.

To overcome these challenges, DT technology provides a promising solution. A DT acts as a virtual model of physical IoT devices and systems, allowing real-time monitoring, predictive analysis, and making smarter decisions [5]. When DT-based frameworks are integrated into healthcare systems, task scheduling and resource management can be significantly optimized. The results are shorter delays, better use of resources, improved energy efficiency, and overall more reliable healthcare services.

Despite these advantages, ref. [6] evidences that healthcare IoT systems generate large amounts of diverse, time-sensitive data that need to be processed in real time. Traditional cloud-centric architectures often fail to satisfy the strict latency and reliability requirements of such environments due to transmission delays, network congestion, and the overhead associated with transferring large data volumes [7]. These limitations are particularly critical in delay-sensitive applications such as electrocardiogram (ECG) analysis, medical image processing, and real-time patient monitoring, where even modest delays can affect service quality and operational responsiveness.

An effective edge computing solution that moves computational resources closer to data sources [8]. Compared with centralised cloud computing in reference [9], edge computing reduces communication latency, alleviates traffic on the backbone network, and improves privacy by keeping sensitive medical data within hospital boundaries. In DT-assisted healthcare networks, edge servers deployed near hospital wards, imaging laboratories, or IoT gateways can collaboratively process computationally intensive workloads in near-real time. In particular, as shown in reference [10], edge computing enables complex processing to be offloaded from resource-constrained sensors and bedside devices (including tens or hundreds of patient monitors and remote medical imaging (RMI) systems) to highly capable edge nodes that maintain rich context through DT-based representations of physical sensors and services. As many healthcare tasks are both computation-intensive and delay-sensitive [11], task offloading is essential to meet real-time requirements, while avoiding overload on local hospital devices. However, efficiently deciding where and when to offload tasks across heterogeneous hospital and edge servers remains challenging.

In reference [12], the task offloading problem becomes even more complex due to workload diversity, dynamic resource availability, queue fluctuations, and conflicting optimization goals such as latency reduction, energy efficiency and fair resource utilization. In reference [13], conventional scheduling methods, including static allocation strategies and simple heuristics like round-robin, are computationally lightweight but often struggle to adapt to the highly dynamic nature of healthcare environments. These approaches typically do not account for real-time system conditions such as CPU utilization, queue length, or communication quality. As a result, they may lead to inefficient resource use, increased delays, and even task drops. Similarly, energy-focused strategies can reduce power consumption but often at the cost of higher latency or uneven workload distribution across servers [14].

These limitations highlight the need for more intelligent scheduling mechanisms that can jointly optimize latency, energy consumption, fairness, and task reliability while still operating within practical system constraints. Another key challenge in DT-assisted edge systems lies in the accuracy and update frequency of digital twin synchronization. Since DT-based schedulers depend on estimated or predicted system states, outdated or fresh information can lead to suboptimal scheduling decisions, higher latency and inefficient resource utilization. On the other hand, overly frequent updates to DTs may introduce additional computational and communication overhead, especially when handling large volumes of data from multiple patient beds and remote imaging systems.

Existing work on DT-based edge computing has primarily focused on improving task performance metrics such as latency, throughput and reliability, often under the assumption of an ideal or cost-free digital twin layer [15]. In practice, however, building, synchronizing, and maintaining digital twins in dense sensing environments introduces non-negligible overheads. These include additional network traffic, processing costs, and control signaling at both core and edge nodes. When DT-driven workload placement decisions ignore these costs, the resulting solutions may be difficult to implement in real systems or may even offset the benefits that digital twins are expected to provide.

To address these limitations, this paper integrates a DT-informed mixed-integer linear programming (MILP) framework for task scheduling in healthcare edge computing environments. The framework jointly optimises task placement and resource allocation across heterogeneous hospital and edge servers while considering latency, energy consumption, and fairness. A network-edge digital twin is incorporated to capture short-term system states, including queue dynamics, resource utilization, and energy conditions, enabling informed offloading decisions. Unlike conventional predictors, such as time-series models (e.g., ARIMA) or machine-learning-based forecasters (e.g., LSTM networks), which estimate future system variables in an open-loop manner, the digital twin provides a continuously updated virtual representation of the healthcare edge system. The DT maintains a continuously updated representation of the system and functions as a control abstraction within the optimization loop. This allows explicit modeling of synchronization overhead and systematic evaluation of DT-related trade-offs under varying update policies. Furthermore, the framework examines the impact of DT state accuracy and update frequency on scheduling performance. Since offloading decisions rely on DT-maintained system states, discrepancies between physical and virtual systems may lead to inefficient or infeasible allocations. In delay-sensitive healthcare scenarios, such mismatches can increase waiting time, overload certain servers, or reduce fairness. Therefore, DT freshness is treated as a critical factor influencing system robustness, where both stale updates and excessive synchronization can negatively impact performance.

Simulation results show that the MILP-based scheduler significantly reduces average latency, eliminates task drops in the evaluated scenarios and improves load balancing across computing resources. Although total energy consumption increases moderately due to the higher task completion rate, the framework achieves better energy efficiency per completed task. In addition, the paper investigates the impact of digital twin staleness and update frequency. The results indicate that outdated DT states can degrade scheduling performance, whereas overly frequent synchronization introduces additional coordination overhead. Overall, these findings highlight the importance of jointly designing DT synchronization mechanisms and optimization-based scheduling strategies to achieve reliable and cost-efficient healthcare edge systems.

The main contributions of this paper are summarized as follows:

  • We formulate DT edge integration cost, capturing coupled latency–energy–fairness effects when DT-driven workloads are offloaded across heterogeneous hospital and edge clinical servers.

  • We propose a DT-informed MILP scheduling formulation that uses predicted edge states to make discrete offload and placement decisions under explicit system constraints, enabling traceable trade-off analysis rather than purely heuristic rules.

  • We investigate the impact of model freshness (twinning rate) degradation and update frequency on system performance, showing that misaligned DT refresh cycles can adversely affect latency, admission control and fairness, while also increasing coordination overhead. These results motivate the co-design of twin update policies and optimization-based control mechanisms.

2. Related Work

2.1. Edge-Based Task Offloading

Energy efficiency is a major concern in edge-based task offloading, especially for medical wearables and IoT sensors with limited battery capacity [16]. Studies, such as [17], have focused on balancing uneven computational workloads in networks. These studies proposed task offloading strategies to reduce energy consumption and computation delay while maintaining high quality of service for users. For instance, ref. [18] presented optimal offloading schemes that significantly lower power consumption in battery-constrained environments. Likewise, ref. [19] combined heuristic techniques with machine learning to distribute computation across edge and cloud resources, leading to considerable energy savings. In instance [20], an energy-efficient adaptive scheduling framework was proposed, which jointly manages server resources and energy consumption. This improves resource utilization and QoS in heterogeneous fog computing environments.

Fairness in resource allocation is highlighted in distributed systems where multiple users or devices compete for limited computational and communication resources [21]. Load balancing addresses this by distributing tasks across servers to reduce response time and improve utilization. It is formulated as a bi-objective game balancing response time and fairness, and solved using a distributed load balancing algorithm (DLBA). Fairness-aware methods (e.g., reinforcement learning-based) have been proposed to dynamically adapt resource allocation under energy constraints and varying task priorities [22]. While promising, these approaches typically lack deterministic guarantees and often fail to explicitly capture the clinical urgency of healthcare workloads. Unlike generic edge offloading studies, healthcare-oriented task orchestration must account for heterogeneous clinical workloads, unequal urgency levels, etc. For instance, ECG monitoring, medical video analysis, and imaging tasks differ substantially in payload size, computation demand, and timeliness requirements, while some monitoring streams may be associated with alerts that are more critical than routine observations. Accordingly, the DT-assisted formulation in this paper is motivated by a healthcare setting in which reliability, deadline satisfaction, energy consumption, and balanced service continuity are analyzed.

There is plenty of previous work that targets the edge-based task offloading. Heuristic methods (FCFS, GA-only, LAHC) rely on simplified search rules or population-based exploration without explicit system modeling [23]. However, their reliance on local or stochastic search mechanisms inherently limits their ability to capture global system structure. Deep Reinforcement Learning (D3QN, DDQN, policy gradient methods) shifts toward direct policy learning, enabling adaptive decision-making in stochastic environments. However, despite their flexibility, DRL approaches suffer from two critical shortcomings: (i) the absence of formal optimality or safety guarantees, and (ii) poor robustness under distribution shifts or non-stationary environments. Additionally, their high sample complexity and training instability make them impractical for systems requiring rapid convergence or real-time guarantees [24]. MINLP solvers (BARON, ANTIGONE, Couenne) offer a more expressive formulation that can capture nonlinearities and integer constraints simultaneously. Despite this modeling richness, their exponential computational complexity severely restricts scalability. MILP represents a compromise between expressiveness and tractability, enabling globally optimal solutions under linearized assumptions with binary variables [24]. Overall, MILP offers an effective balance between optimality, interpretability, and modeling flexibility [23,25]. Although RL is more appropriate for highly dynamic environments and MINLP provides greater modeling accuracy for nonlinear systems, MILP remains the preferred optimization technique for many resource allocation applications due to its deterministic behavior, mature solver support, and guaranteed optimal solutions.

Table 1 highlights a comparison between the abovementioned approaches.

Table 1.

Structural and functional comparison of representative optimization frameworks.

Technique Name(s) Pros Cons Limitations
Heuristic FCFS, GA-only, LAHC Simple implementation. Often converges to local optima and may fail to identify globally optimal solutions. Limited awareness of detailed system states and poor scalability under heterogeneous workloads.
DRL-based D3QN, DDQN, Policy Gradient Learns adaptive scheduling policies suitable for dynamic environments. Requires extensive training and may become unstable under changing data distributions. Provides no deterministic optimality guarantees and lacks formal safety certification.
MINLP BARON, ANTIGONE, Couenne Highly expressive mathematical modeling capable of representing nonlinear interactions. Computationally expensive and often exhibits slow convergence. Generally unsuitable for real-time scheduling due to excessive solution time.
MILP DT-MILP Combines digital twin awareness with MILP optimality, enabling adaptive, fair, and globally optimal scheduling decisions. Introduces additional computational overhead for digital twin synchronization and optimization. Performance depends on accurate digital twin synchronization and timely state updates.

2.2. DT-Assisted Task Scheduling

Recent research has increasingly focused on DT-enabled optimization frameworks that jointly consider multiple system objectives [26]. In particular, several studies have demonstrated that integrating DTs with resource management can improve latency, energy efficiency and adaptability under dynamic operating conditions. For instance, ref. [27] proposed a multi-objective optimization model to balance energy consumption and latency, showing that joint optimization outperforms single-objective approaches. Similarly, ref. [28] introduced a context-aware framework that dynamically adapts resource allocation based on workload variations and environmental conditions, leading to improvements in both delay performance and energy efficiency.

Resource allocation and task offloading in DT-assisted systems have received significant attention in IoT and cyber-physical environments [29]. Existing state-of-the-art has primarily focused on individual objectives such as latency reduction, energy efficiency, or fairness under specific system constraints in [30]. While these works provide valuable insights, they often overlook the joint optimization of multiple conflicting performance metrics within a unified framework.

In the context of IoT-enabled healthcare networks, DTs are increasingly utilized as a network-level abstraction to support system monitoring and control rather than as direct enablers of clinical applications. The DT of the network deployed in [31] facilitates more informed task scheduling and resource allocation decisions by maintaining a virtual representation of the sensing and communication infrastructure. However, existing approaches typically do not fully capture the coupled trade-offs among latency, energy consumption, fairness and task reliability in such DT-assisted scheduling frameworks. In addition, the impact of DT-specific factors, such as synchronization overhead and freshness (twinning rate), is often neglected. To address these limitations, this work proposes a DT-informed MILP-based task scheduling framework that explicitly incorporates DT-derived system states while accounting for DT update dynamics, enabling efficient and reliable task offloading in IoT-based healthcare networks.

Conventional predictors and digital twins serve different roles in edge offloading systems. Traditional predictors, e.g., Auto-Regressive Integrated Moving Average (ARIMA), Support Vector Regression (SVR), Random Forest, Long Short-Term Memory (LSTM), and Gated Recurrent Unit (GRU), are widely used models for prediction and forecasting tasks [32]. Despite their effectiveness, these predictors operate in a feedforward manner, producing point estimates without maintaining an explicit representation of the physical system. As a result, their outputs are limited to prediction and must be externally integrated into decision-making processes. In contrast, the digital twin maintains a continuously synchronized virtual replica of the physical healthcare edge environment. Rather than forecasting isolated variables, DT integrates real-time data streams, historical information, and contextual system dynamics to track the system’s current state and simulate its evolution. This makes DT a system-level abstraction that supports monitoring, state consistency, and closed-loop scheduling decisions [33]. A further distinction lies in adaptability. Conventional predictors typically require retraining or recalibration when system conditions change, whereas DT can adapt through continuous synchronization with the physical infrastructure [6]. As a result, the DT is better suited for environments with rapidly varying workloads, heterogeneous edge resources, and stringent delay constraints, such as healthcare scenarios [28,34]. Overall, conventional predictors are appropriate for short-term forecasting, while DT is more suitable when prediction must be integrated with control, synchronization, and decision-making, as shown in Table 2.

Table 2.

Comparison between digital twin and conventional predictors.

Aspect Time-Series/ML Predictors Digital Twin (DT)
System Representation Uses historical data to learn patterns; no explicit system replica Maintains a continuously synchronized virtual replica of the physical system
Output Type Point estimates (e.g., latency, workload, energy) Real-time state estimation + future behavior simulation
Data Usage Primarily past observations Real-time data streams + historical + contextual system dynamics
Adaptability Limited; requires retraining for changes Adaptive through continuous synchronization
Decision Support Supports prediction only (feedforward) Enables closed-loop control and decision-making
Model Examples ARIMA, SVR, Random Forest, LSTM, GRU Physics-based models + data-driven hybrid system models
Temporal Awareness Strong in short-term forecasting (especially ML models) Strong in both short-term prediction and dynamic evolution tracking
Interaction with System Passive predictor Active system-aware emulator (bi-directional feedback)

3. Architecture of a Healthcare-Oriented Digital Twin System

Figure 1 illustrates the proposed healthcare-oriented digital twin architecture, which consists of three main layers: the patient layer, the edge layer and the DT Layer. These layers interact through bidirectional data and control flows to enable real-time monitoring, task offloading, and predictive healthcare analytics.

Figure 1.

Figure 1

Illustrative architecture of a healthcare-oriented digital twin system.

The patient layer includes wearable sensors and medical devices that continuously collect physiological data such as ECG signals, blood pressure, oxygen saturation and other vital signs. These data are transmitted to the nearest edge servers for processing (in the Edge Layer above).

The edge layer hosts multiple edge servers with task offloading and decision-making capabilities. These servers perform preliminary data processing, including buffering, filtering, denoising, and feature extraction. When a task is computationally intensive or delay-sensitive, the local offloading engine forwards it to a centralized task scheduler for global decision-making [35]. Edge servers communicate with each other through high-speed fiber backhaul links (as exemplified in [36]), enabling low-latency coordination and dynamic load balancing. The scheduler applies optimization techniques (e.g., MILP) to determine optimal task placement under resource, latency, and energy constraints.

The digital twin layer maintains virtual representations of patient physiological states and edge resource conditions using both real-time and historical data. This layer supports ECG visualization, vital sign tracking and predictive analytics. By continuously updating its models, the DT layer can generate proactive alerts [37] and assist clinicians in decision-making. The updated DT states are then fed back to the edge layer as control inputs, closing the loop between physical and virtual systems.

At the core of the architecture is a centralized task scheduler and optimization engine. This component coordinates decisions across the patient, edge, and DT layers by evaluating task requirements, checking resource availability, and updating both local and global system states. Its objective is to minimize latency and energy consumption while preserving fairness and maintaining consistency between predicted DT states and physical execution.

Overall, the proposed architecture models healthcare monitoring as a closed-loop control system. The patient layer generates continuous data streams, the edge layer handles latency-sensitive computation close to the data source, and the DT layer provides predictive intelligence to enhance scheduling and monitoring decisions [38]. This integration targets the enablement of a reliable, scalable and energy-aware healthcare service delivery.

4. System Model

The architectural elements described above are directly mapped to the system model to capture DT-assisted offloading decisions. In this work, the central hospital is modeled as the primary edge node within the edge layer, where tasks are initially generated and can also be executed locally. However, some healthcare tasks are delay-sensitive or computationally intensive and therefore cannot always be completed efficiently at the originating hospital node. To address this limitation, the edge layer also includes cooperating edge devices, such as nearby hospitals, clinics, or edge servers, which are interconnected through high-capacity fiber backhaul links and can receive migrated tasks from the central hospital. Accordingly, offloading refers to transferring a task from the central hospital to another cooperating edge node for execution, while local execution corresponds to processing the task at the originating hospital node. Based on this layered architecture, the proposed scheduling strategy is formulated as an MILP problem, which makes adaptive, system-aware decisions informed by both real-time edge conditions and DT predictions. In contrast, the hospital-only and round-robin schemes are used as baseline execution policies: the hospital-only scheme forces all tasks to remain at the central hospital, whereas the round-robin scheme assigns tasks cyclically across available cooperating edge nodes without considering resource availability, task urgency, or system state.

We consider a DT-enabled edge with M heterogeneous edge devices (each equipped with one CPU), interconnected via high-capacity fiber backhaul links within a multi-layer architecture: edge layer, DT layer, and task scheduler/optimization engine. Time is slotted with index t∈{1,…,T}. In each slot t, users deliver a total of Nt tasks, where each task i∈{1,…,Nt} appears initially on the edge device m∈{1,…,M} (e.g., the main hospital) and is characterized by the size of the input data Dit,m (MB), the arrival time TA,it,m, the estimated processing requirement TP,it,m (CPU cycles) and the strict deadline TD,it,m (s). Tasks can be (i) executed locally at edge device m, (ii) offloaded/migrated to another cooperating edge device n≠m over a constant-capacity backhaul, (iii) processed according to DT-predicted orchestration decisions, or (iv) dropped if infeasible under energy/latency constraints. We focus on real-time healthcare workloads and assume no long task queuing.

4.1. Task and Edge Device Model

For each task i at (t,m), we define binary decision variables

xijt,m,βit,m,γit,m,δit,m∈{0,1},βit,m+γit,m+δit,m=1,∀i,t,m, (1)

where βit,m=1 if task i is executed locally at device m, γit,m=1 if it is migrated to a remote edge device, and δit,m=1 if it is dropped. When γit,m=1, the variable xijt,m=1 selects a specific CPU j∈{1,…,Jn} on destination edge device ntm≠m; otherwise xijt,m=0. The DT layer maintains a global state Xt used by the scheduler to make predictive, system-aware decisions rather than purely reactive ones.

Destination CPU Selection of the Edge Device

If a task is migrated (γit,m=1), it must be assigned to exactly one CPU j on one destination edge device n≠m:

∑n≠m∑j=1Jnxijt,m=γit,m,∀i,t,m. (2)

Each destination edge device n has CPU frequency fedgen,j (cycles/s) and per-MB cycle requirement cedgen,j for CPU j.

Offloading Decision: The offloading mode is selected by γit,m. When γit,m=1, task i’s data is transmitted over the fiber backhaul to edge device ntm and processed on CPU j, instead of local execution (βit,m=1) or dropping (δit,m=1). This decision is optimized for every slot using DT state Xt, task features {Dit,m,TP,it,m}, and energy/latency constraints.

4.2. Latency Model

The end-to-end latency for all tasks is decomposed as

Ltotal=Lcomm+Lexec+Lcomp, (3)

where Lcomm is the communication latency over the fiber backhaul and DT signaling, Lexec is the execution time on edge CPUs, and Lcomp captures the DT-driven scheduling computation overhead in the controller.

For a local task i at device m, the execution latency is

Ti,loct,m=TP,it,mftm+TW,it,m, (4)

where ftm is the local CPU frequency (cycles/s) and TW,it,m is the waiting time on the selected CPU due to previously scheduled tasks.

For a migrated task, we assume a deterministic, constant-capacity fiber backhaul with rate Cbackhaul (MB/s). The migration latency, including transmission and remote execution, is

Ti,migt,m=Dit,mCbackhaul+Dit,mcedgen,jfedgen,j+TW,it,n, (5)

where TW,it,n is the queueing delay at the destination edge CPU.

The actual task latency is then

Tit,m=βit,mTi,loct,m+γit,mTi,migt,m, (6)

subject to the deadline constraint

Tit,m≤TD,it,m+Mbigδit,m,∀i,t,m, (7)
T˜it,m=minTi,loct,m,minn≠m,jTi,migt,m(n,j), (8)
δit,m≤1{T˜it,m>TD,it,m},∀i,t,m. (9)

The CPU utilization of edge device m at time t is

UCPU,mt=∑iLexec,it,mTtotal,mt×100%, (10)

where Lexec,it,m is the execution time consumed by tasks on edge device m and Ttotal,mt is the total available processing time in slot t.

4.3. Energy Model

The total energy consumption of an edge device during task execution and offloading consists of two main components: (i) fiber transmission and (ii) computation at the executing server (local or remote). Fiber optic links are highly energy-efficient compared to copper-based interconnects, as their energy cost is dominated by the optical transceivers rather than cable length [38].

  • Transmission Energy

The energy consumption for transmitting task i over a fiber backhaul link is mainly determined by the transceiver power of the optical interface modules:

Etx,it,m=Ptx·Dit,mCbackhaul, (11)

where Ptx (Watts) is the power of the optical transceiver, Dit,m is the task data size (bits), and Cbackhaul (bits/s) is the fiber link capacity. In typical deployments, Ptx≈1 W for 10–25 Gbps optical modules, which makes fiber transmission highly energy-efficient [27].

  • Computation Energy

The computation energy for executing task i at an edge device (local or remote) is modeled as the product of power and execution time:

Ecomp,it,m=Plocm·Ti,loct,m, (12)

for local execution at device m, where Plocm is the average active power of device m and Ti,loct,m is given in Equation (4). Similarly, for remote execution at edge device n we have

Ecomp,it,n=Pedgen·Dit,mcedgen,jfedgen,j, (13)

where Pedgen is the average active power of edge device n, cedgen,j is the per-MB cycle requirement, and fedgen,j the CPU frequency of CPU j on edge device n.

  • Total Task Energy

The local execution energy of a task is given by

Ei,loct,m=Ecomp,it,m, (14)

while the migration energy (transmission plus remote computation) is expressed as

Ei,migt,m=Etx,it,m+Ecomp,it,n. (15)

The total energy consumed by edge device m in slot t is then

Etm=∑iβit,mEi,loct,m+γit,mEi,migt,m, (16)

where βit,m and γit,m are binary indicators denoting local execution and migration decisions, respectively.

The evolution of the residual edge energy is defined as

Et+1,m=Et,m−Etm,E1,m=Einit,m, (17)

subject to the reserve constraint

Et,m≥ρEinit,m,0<ρ<1,∀t,m. (18)

4.4. Digital Twin Model

For each edge device m, the DT maintains a state vector xt,m that aggregates recent information about workload, CPU utilization, and residual energy. When a task is executed (locally or remotely), it contributes features yt,m extracted from its attributes (e.g., size, processing requirement, latency outcome):

yt,m=ϕ(βit,m+γit,m)Dit,m,TP,it,m,Tit,m, (19)

where ϕ(·) is a feature-extraction operator.

The DT state is updated using an exponential moving average:

xt+1,m=(1−η)xt,m+ηyt,m+ξt,m, (20)

where 0<η≤1 controls DT memory and ξt,m captures external updates. The global DT state at time t is

Xt=[xt,1,…,xt,M], (21)

and higher-level analytics are obtained via

zt=Ψ(Xt), (22)

where Ψ(·) maps DT states to system indicators, such as predicted CPU utilisation and expected energy depletion, which the scheduler then uses for proactive offloading decisions.

To capture the effect of synchronization delay between the physical edge system and its virtual representation, we define the freshness of the digital twin state at time slot t as

Ft=t−τt, (23)

where τt denotes the most recent slot at which the DT state was successfully synchronized with the physical system. The corresponding DT staleness is defined as

St=1−exp(−κFt), (24)

where κ>0 controls how rapidly the effect of outdated information grows. A larger St indicates that the DT state is less representative of the current physical system. The freshness level directly affects scheduling quality. When the DT is fresh, the scheduler has access to more accurate queue, energy, and utilization estimates, which improves offloading decisions. When the DT becomes stale, prediction error increases, and the resulting MILP decisions may become suboptimal, leading to higher latency, unfair load distribution, or unnecessary task drops. To incorporate this effect, the DT analytics used by the scheduler are weighted by freshness as

zt=FtΨ(Xt), (25)

or, equivalently, freshness may be introduced as a penalty term in the objective:

Jtotal=J+λ5∑t=1TSt. (26)

This formulation captures the trade-off between information accuracy and synchronization overhead. Very frequent updates reduce staleness but increase communication and computation cost, while infrequent updates reduce overhead but degrade decision quality.

4.5. Performance Metrics

Given the decision variables {βit,m,γit,m,δit,m}, we define the following:

  • Total energy consumption:
    Eused=∑t=1T∑m=1MEtm.
  • Task drop rate:
    DropRate=∑t=1T∑m=1M∑iδit,m∑t=1T∑m=1MNt.
  • Average latency (over successfully served tasks):
    T¯=∑t=1T∑m=1M∑iTit,m(1−δit,m)∑t=1T∑m=1M∑i(1−δit,m).
  • Average CPU utilization:
    U¯CPU=1MT∑t=1T∑m=1MUCPU,mt.
  • Energy fairness across devices using Jain’s index, where Em=∑t=1TEtm:
    FI=∑m=1MEm2M∑m=1MEm2.

4.6. Optimization Problem

The DT-driven controller jointly optimizes task execution decisions {βit,m,γit,m,δit,m}, CPU assignment xijt,m, and backhaul usage to balance energy, latency, reliability, and fairness. The multi-objective cost over horizon T is

min{x,β,γ,δ}J=λ1∑t=1T∑m=1M∑iTit,m+λ2∑t=1T∑m=1MEtm+λ3∑t=1T∑m=1M∑iδit,m+λ41−FImax, (27)

where λ1+λ2+λ3+λ4=1 and ∥·∥ denotes absolute value. The problem is subject to Constraints (1)–(9), energy reserve constraints, and binary variable domains. This MINLP can be solved offline via MILP solvers (intlinprog) or approximated online via DRL, where the action space is {βit,m,γit,m,δit,m} conditioned on the DT state Xt, enabling energy-aware and deadline-compliant load balancing over the fiber-connected edge devices. Subject to

βit,m+γit,m+δit,m=1,∀i,t,m, (28)
∑n≠m∑j=1Jnxijt,m=γit,m,∀i,t,m, (29)
Tit,m≤TD,it,m+Mbigδit,m,∀i,t,m, (30)
δit,m≤1{T˜it,m>TD,it,m},∀i,t,m, (31)
∑ixijt,mDit,mcedgem,jfedgem,j≤Δt,∀m,j,t, (32)
∑m=1M∑i:γit,m=1Dit,mΔt≤Cbackhaul,∀t, (33)
Et+1,m=Et,m−Etm,E1,m=Einit,m,∀m, (34)
Et,m≥ρEinit,m,∀t,m, (35)
βit,m,γit,m,δit,m∈{0,1},∀i,m,t. (36)

Problem (27)–(36) defines a digital-twin-driven edge computing optimization framework for healthcare applications.

The problem is NP-hard due to binary variables and nonlinear energy/latency terms but admits efficient offline solutions via MILP solvers (Gurobi/intlinprog) over short horizons or online approximations via model-free DRL (DDPG) conditioned on DT analytics zt=Ψ(Xt), enabling real-time, energy/latency/fairness-aware task orchestration across heterogeneous edge servers while ensuring clinical deadlines are met or gracefully violated only when physically infeasible.

This MILP formulation advances the state-of-the-art by (i) integrating DT state prediction Xt into the optimization loop for proactive load balancing rather than reactive scheduling, (ii) jointly modeling CPU assignment xijt,m, execution modes {βit,m,γit,m,δit,m} and resource constraints under a unified multi-objective framework, and (iii) providing deadline-aware task dropping that respects clinical urgency while maintaining energy sustainability (35) and backhaul capacity (33).

5. Algorithm for Joint Task Offloading and Resource Allocation

Section 5 provides a high-level description of the proposed DT-assisted MILP scheduling and optimization algorithms to illustrate the overall workflow of the framework. The detailed mathematical formulation, system assumptions, variables, constraints, and parameter definitions used by these algorithms are presented in Section 4. The algorithmic procedures introduced in this section should therefore be interpreted as conceptual representations, with their formal definitions and analytical foundations provided in the following section.

To solve the formulated problem, we propose an iterative DT-assisted decision-making algorithm, detailed in Algorithms 1 and 2, which determines the execution mode (local computation, migration, or task drop) across edge servers at each time slot.

Algorithm 1 Overall DT-Assisted Edge Computing System with Freshness Awareness
  • Require: 

    M, T, Δt, Cbackhaul, {ftm, fedgem,j, cedgem,j}, Einit,m, η, ρ, κ, ϵstale

  • Ensure: 

    Decisions {(βit,m,γit,m,δit,m)}

  •   1:

    Initialize E1,m←Einit,m,∀m

  •   2:

    Initialize x1,m←0,∀m, τ1←1

  •   3:

    X1←[x1,1,…,x1,M]

  •   4:

    for t=1 to T do

  •   5:

          Observe incoming tasks {Dit,m,TP,it,m,TD,it,m}

  •   6:

          Compute freshness: Ft←t−τt

  •   7:

          Compute staleness: St←1−exp(−κFt)

  •   8:

          if St>ϵstale then

  •   9:

               Synchronize DT with physical system

  • 10:

               τt←t

  • 11:

               Update Xt

  • 12:

          end if

  • 13:

          zt←FtΨ(Xt)                ▷ Freshness-weighted DT analytics

  • 14:

          for each task i at server m do

  • 15:

               Compute local latency Ti,loct,m using (4)

  • 16:

               Compute migration latency Ti,migt,m(n,j) using (5)

  • 17:

               T˜it,m←min{Ti,loct,m,minn≠m,jTi,migt,m(n,j)}

  • 18:

               if T˜it,m>TD,it,m then

  • 19:

                    δit,m←1, βit,m←0, γit,m←0

  • 20:

                    continue

  • 21:

               end if

  • 22:

               if Triggeroffloadt,m=1 then

  • 23:

                    ProposedMILP(zt,St,i,m)

  • 24:

               else

  • 25:

                    βit,m←1 if UCPU,mt<U¯CPUt−σ

  • 26:

               end if

  • 27:

          end for

  • 28:

          Compute total latency Tit,m using (6)

  • 29:
          Update energy:
    Etm←∑iβit,mEi,loct,m+γit,mEi,migt,m
  • 30:

          Et+1,m←max(Et,m−Etm,ρEinit,m),∀m

  • 31:
          Update fairness:
    U¯CPUt←1M∑mUCPU,mt
  • 32:

          for each server m do

  • 33:
               Extract features:
    yt,m←ϕ(β+γ)D,TP,T
  • 34:
               Update DT state:
    xt+1,m←(1−η)xt,m+ηyt,m+ξt,m
  • 35:

          end for

  • 36:

          Xt+1←[xt+1,1,…,xt+1,M]

  • 37:

    end for

  • 38:

    return all scheduling decisions

Algorithm 2 DT-MILP Task Offloading
  • Require: 

    zt,St, task i at m, {fedgen,j,cedgen,j}, λ,ρ

  • Ensure: 

    (βit,m,γit,m,δit,m)

  •   1:
    Formulate MILP objective:
    J=λ1Tit,m+λ2Etm+λ3δit,m+λ4(1−FI)+λ5St
  •   2:
    Subject to constraints:
    (28)–(36)
  •   3:
    Warm-start using DT predictions:
    zt→{UCPU,Et,fairnessindicators}
  •   4:
    Solve MILP:
    (βit,m,γit,m,δit,m)←intlinprog(J)
  •   5:

    if  γit,m=1 then

  •   6:
          Select destination:
    (n🟉,j🟉)←argmaxxijt,m
  •   7:

          Offload task to CPU j🟉 at server n🟉

  •   8:

    end if

  •   9:

    return optimal decision variables

Algorithm 1 presents the overall workflow of the proposed DT-assisted edge computing framework with freshness awareness. At the beginning of each scheduling interval, the system initializes the DT states, energy levels, and decision variables for all edge servers. For every time slot, newly arriving tasks are observed, and the freshness and staleness of the DT are evaluated based on the elapsed synchronization time. When the freshness falls below a predefined threshold, the DT is synchronized with the physical system to update the system state before performing scheduling decisions. The refreshed DT is then used to extract system features and estimate task execution performance. For each task-server pair, the algorithm computes the local execution latency and migration latency, selects the minimum feasible execution time, and checks whether the task satisfies its delay deadline. If the deadline cannot be met, the task is dropped; otherwise, the algorithm determines whether offloading is required. Offloading decisions are optimized through the MILP formulation while considering server resource availability and CPU utilization fairness. After the scheduling decisions are obtained, the total task latency and energy consumption are calculated, and the remaining battery energy is updated subject to a minimum energy constraint. Finally, server features are extracted to update the DT states using the system dynamics model, and the refreshed DT is carried forward to the next scheduling interval.

Algorithm 2 describes the proposed DT-MILP task offloading strategy with freshness awareness. Given the current DT state, system status, task information, edge server resources, and optimization weights, the algorithm first formulates a multi-objective MILP that jointly minimizes task latency, energy consumption, task rejection, fairness degradation, and DT staleness through a weighted objective function. The optimization is performed subject to the system constraints defined in Equations (28)–(36). To improve computational efficiency and solution quality, the MILP is warm-started using DT-predicted system information, including CPU utilization, residual energy, and fairness indicators. The resulting optimization is to determine the optimal task admission, offloading, and execution decisions. If a task is selected for offloading, the algorithm identifies the optimal destination server and CPU core according to the optimization outcome and assigns the task accordingly. Finally, the optimal decision variables are returned to the DT-driven scheduling framework, enabling adaptive and freshness-aware task offloading while balancing latency, energy efficiency, resource utilization, and fairness across edge servers.

6. Results and Discussion

6.1. Simulation Setup

Simulation was conducted in MATLAB R2025a on a workstation equipped with an Intel Core i9 CPU and 64 GB RAM. The considered scenario is a DT-enabled heterogeneous edge network for healthcare monitoring, consisting of M = 5 edge servers, consisting one hospital and multiple cooperating clinics. Such a configuration is commonly acknowledged in plenty of European countries, where the (public) hospitals and clinics within the city form a local edge network. The public hospital suffers from overloading, whereas the clinics have spare compute resources that could be utilized to release the hospital’s workload [39]. Time is discretized into slots of Δt = 1 ms over T = 2000 slots, with one to five tasks arriving per slot and being drawn uniformly from ECG, video, and medical imaging with heterogeneous input sizes and clinical deadlines as mentioned in Table 3. This one-to-five-arrival-per-slot configuration is used as a controlled starting point for isolating the impact of DT-assisted scheduling under heterogeneous tasks. Task attributes are generated as follows: payload size Dit,1∼U[1,5] MB, per-byte computational demand cedgen,j∼U[800,1500]×106 cycles/byte, and clinical deadlines TD,it,1∼U[2,20] slots (20–200 ms). CPU frequencies are sampled as ftm∼U[1.5,2.5] GHz for the hospital and ftm∼U[2,3] GHz for clinic servers. Initial residual energies are set to Einit,m∈[1000,2000] J with a reserved fraction of ρ=0.25. Processing power of each CPU is set in a range of 160–250 W. The servers are connected via a fiber backhaul link with a fixed capacity of Cbackhaul=500 MB/s, which is common in healthcare local networks [40,41]. The DT layer forecasts short-term CPU utilization and energy states using an exponential moving average with smoothing factor η=0.1. We compare the proposed DT-informed MILP scheduler against hospital-only and round-robin (RR) baselines, using a consistent weight vector λ=[0.25] across all methods. Performance is evaluated in terms of mean end-to-end latency L¯, total energy consumption Eused, task drop rate, Jain’s fairness index, and hospital overload reduction.

Table 3.

Representative parameter ranges for edge CPU allocation (simulation setup).

Parameter Value(s)
Number of edge servers M 5/10
Number of tasks 104
Average task arrival time per slot 1–5
Average Updated Frequency 1–5 ms
T 2000 slots
Slot length Δt 1 ms
Backhaul capacity Cbackhaul 500 MB/s
Reserved energy ratio ρ 0.25
Mean CPU frequency fm 2.0–3.0 GHz
Mean processing power Pm 160–250 W
Mean initial energy Eminit 1000–2000 J
Mean ECG/Video/Imaging sizes 90/280/150 KB

6.2. System-Level Performance

As summarized in Table 4, the hospital-only baseline reveals the limitations of relying exclusively on local edge resources for healthcare task execution. Since all incoming tasks are processed by the hospital server, the node rapidly becomes overloaded, leading to a task drop rate of 84.30% and a Jain’s Fairness Index (JFI) of only 0.200. These results indicate that a single edge server cannot accommodate the continuous and computationally intensive workload generated by modern healthcare monitoring applications, highlighting the need for cooperative resource sharing across multiple edge nodes.

Table 4.

Performance comparison of DT-enabled MILP, round-robin (RR), and hospital-only scheduling.

Method Executed Tasks Drop (%) Fairness Avg Delay (ms) Avg Energy (J)
DT–MILP 10,000 0.00 0.907 10.3417 0.615000
RR 4030 59.70 0.436 10.3393 0.907000
Hospital-only 1570 84.30 0.200 10.3444 1.599000

The RR scheduler partially addresses this limitation by distributing tasks among the available edge servers. This strategy increases the number of successfully processed tasks to 4030 while reducing the task drop rate to 59.70%. However, the corresponding fairness index remains relatively low (0.436), suggesting that static cyclic scheduling is unable to adapt effectively to heterogeneous server capabilities and dynamically changing workloads. Because RR assigns tasks without considering current queue lengths, processing loads, or resource availability, it continues to experience resource imbalance and congestion under heavy traffic conditions.

In contrast, the proposed DT-enabled MILP scheduler consistently delivers the best performance across all evaluated metrics. By incorporating real-time system monitoring and predictive state information from the DT, the scheduler successfully processes all 10,000 tasks, achieving a task drop rate of 0.00%. In addition, it attains a fairness of 0.907, demonstrating a highly balanced distribution of computational workload among the participating edge servers. These results demonstrate that integrating DT technology with global optimization not only eliminates task loss but also significantly improves fairness in resource allocation. Such capabilities are particularly important in edge computing in healthcare, where timely task execution and uninterrupted service availability are essential for supporting mission-critical applications.

The latency results presented in Table 4 indicate that the average end-to-end delay per processed task remains nearly identical across all scheduling approaches, at approximately 10.34 ms. This suggests that once a task is admitted for execution, the communication and processing delays are comparable regardless of the scheduling strategy.

However, per-task latency alone does not fully capture overall system performance. A more meaningful distinction emerges when considering the total delay and the number of successfully completed tasks as shown in Table 5. The MILP scheduler accumulates a higher total delay (97,812.35 ms) than RR (42,577.35 ms) and hospital-only (16,240.77 ms) because it successfully processes a substantially larger number of tasks. In contrast, RR and hospital-only exhibit lower aggregate delay primarily because many tasks are dropped and therefore do not contribute to the delay statistics.

Table 5.

Aggregate delay across processed tasks for DT-enabled MILP, RR, and hospital-only scheduling.

Delay Metric (ms) DT–MILP RR Hospital-Only
Total TX Delay 3232.3496 2277.3467 540.7748
Total Exec Delay 94,580.0000 40,300.0000 15,700.0000
Total Task Delay 97,812.3496 42,577.3467 16,240.7748

From a healthcare perspective, the MILP-based scheduler is the preferred solution because it maintains low per-task latency while achieving significantly higher task completion rates. These results demonstrate that the scheduler can sustain service quality without sacrificing responsiveness, ensuring that a greater proportion of healthcare requests are successfully served. Consequently, the MILP approach provides a more effective balance between latency performance, service availability, and workload handling capability, all of which are critical requirements in healthcare edge-computing systems.

The energy results highlight an important distinction between total energy consumption and energy efficiency. Although the MILP-based scheduler exhibits the highest total energy consumption due to processing the full set of 10,000 tasks, it is the most efficient in terms of normalized energy per task. Specifically, the average task energy is 0.615 J/task for MILP, compared with 0.907 J/task for round-robin (RR) and 1.599 J/task for hospital-only as shown in Table 6.

Table 6.

Energy comparison across processed tasks for DT-enabled MILP, RR, and hospital-only scheduling.

Energy Metric (J) DT–MILP RR Hospital-Only
Total TX Energy 17.082833 6.837233 2.703874
Total Exec Energy 6132.845000 3647.285000 2507.050000
Total Task Energy 6149.927833 3654.122233 2509.753874
Total System Energy 6149.927833 3654.122233 2509.753874
Average TX Energy per Task 0.001708 0.001697 0.001722
Average Exec Energy per Task 0.613284 0.905033 1.596847
Average Task Energy per Task 0.614993 0.906730 1.598569

This indicates that lower total energy in the baselines does not reflect better efficiency, but rather results from processing fewer tasks and dropping a significant portion of the workload. In contrast, MILP achieves lower energy per task while completing the full workload, making it a more appropriate measure of energy efficiency in healthcare edge systems.

A similar trend is observed in power consumption. MILP maintains the lowest average power at 95.13 W, followed by RR at 110.60 W, while hospital-only reaches 154.53 W as shown in Table 4. This confirms that optimization-based task placement reduces power stress and prevents the inefficient operation associated with single-node congestion.

The results reveal a clear trade-off between fairness and energy consumption. The hospital-only strategy exhibits the lowest fairness (0.200) because all tasks are executed on a single server. RR improves fairness (0.436) through workload distribution, but its static scheduling policy cannot adapt to dynamic resource conditions. Although MILP without DT employs optimization, its fairness remains limited (0.300) due to the lack of real-time system awareness. In contrast, the proposed DT-enabled MILP framework achieves the highest fairness (0.907) by dynamically balancing workloads using digital twin-assisted resource information (Table 4).

While the DT-enabled MILP scheduler incurs the highest total energy consumption (Table 6), this is primarily because it successfully processes all 10,000 tasks, unlike the baseline approaches that drop a substantial portion of the workload. Therefore, the increase in total energy reflects higher system productivity rather than lower efficiency. In mission-critical healthcare applications, this trade-off is justified, as ensuring uninterrupted service, eliminating task loss, and maintaining balanced resource utilization are more important than minimizing aggregate energy consumption alone.

To strengthen the analysis beyond the baseline setting, the server-scaling results for 5 and 10 edge servers are used to evaluate how reliability, fairness, and energy efficiency change with infrastructure size. This additional analysis is important because the mathematical model permits multiple tasks per slot and heterogeneous server deployments, whereas a single fixed operating point would not fully demonstrate the robustness of the scheduling framework. Table 7 compares the scenarios with 5 and 10 edge servers, based on the same setup in Table 3. Both configurations process all the 10,000 tasks with zero drops, but the five-server setup achieves superior energy efficiency and fairness. It consumes 36% less total system energy (6149.93 J vs. 9564.01 J), attains a significantly higher Jain’s fairness index (0.907 vs. 0.376, because of more idle states of CPUs), and maintains lower average total power (73.01 W vs. 106.96 W). The 5-server configuration also demonstrates more effective CPU load management with an average offload CPU requirement of 72.85% compared to 49.99% for 10 servers. While the 10-server configuration shows marginally lower average end-to-end delay (10.3406 ms vs. 10.3417 ms), it incurs substantially higher energy costs and poorer load balancing across servers. These results demonstrate that increasing server count does not guarantee better performance. This finding is particularly relevant for healthcare edge computing scenarios, where energy-constrained and latency-sensitive applications require efficient task scheduling. The framework’s ability to maintain high task completion rates, low energy consumption, and balanced resource utilization demonstrates its potential for deployment in large-scale, dynamic healthcare environments, ultimately supporting a more sustainable and reliable edge-based healthcare infrastructure.

Table 7.

Comparison of overall system performance for different numbers of edge servers.

Metric 5 Servers 10 Servers
Total Tasks Generated 10,000 10,000
Successfully Assigned 10,000 10,000
Tasks Dropped 0 0
Drop Rate (%) 0.00 0.00
Total TX Delay (ms) 3416.57 3415.5230
Total Execution Delay (ms) 100,000 99,990
Total End-to-End Delay (ms) 103,405.5230 103,416.57
Average End-to-End Delay (ms) 10.3417 10.3406
Average Jain Fairness Index 0.907 0.376
Highest CPU Utilization (%) 100 60.0
Average Total Power (W) 73.01 106.96
Total TX Energy (J) 17.083 17.083
Total Execution Energy (J) 6132.845 9546.928
Total System Energy (J) 6149.928 9564.011
Average TX Energy per Task (J) 0.001708 0.001708
Average Execution Energy per Task (J) 0.613284 0.954693
Average Total Energy per Task (J) 0.614993 0.956401

6.3. Digital Twin Update Frequency and Scalability Trade-Offs

This section evaluates the impact of DT update frequency on key system metrics, including end-to-end latency, DT waiting latency, task drop rate, energy consumption, and workload fairness.

To start with, an ablation study w/o DT is analyzed. Without real-time knowledge of resource availability and system dynamics, the MILP-only scheduler executed 4994 out of 10,000 tasks, resulting in a 50.01% task drop rate. In addition, it achieved a Jain’s fairness index of only 0.300, indicating an imbalanced distribution of workload across the available computing resources, and consumed an average of 0.894873 J per processed task. Although the average task delay remained relatively low at 10.314 ms for successfully executed tasks, the high task rejection rate and poor resource utilization demonstrate the limitations of static system information. Integrating a DT overcomes these shortcomings by maintaining an up-to-date virtual representation of the physical infrastructure, enabling more informed scheduling decisions. However, the effectiveness of the DT depends on its synchronization frequency relative to the physical system. While more frequent updates can improve scheduling accuracy and resource allocation, they also incur additional communication, computation, and synchronization overhead. Therefore, it is essential to investigate the trade-off between DT update frequency, system scalability, and overall scheduling performance.

Figure 2 illustrates the impact of the DT update interval on state estimation errors and cost of DT-assisted scheduling, where the MILP optimizer relies on DT-provided system states such as server utilization, queue length, and communication delays. The DT update interval is varied from 1 to 5 ms, while all other system parameters are kept fixed, in order to isolate the effect of more frequent DT synchronization on system performance. At a short update interval (1 ms), frequent synchronization enables the DT to maintain accurate and up-to-date system states, allowing the scheduler to achieve the lowest overall latency (2.1 ms), zero task drop rate, and the highest fairness (Jain’s index of 0.91) while maintaining relatively low energy consumption. As the update interval increases from 2 ms to 5 ms, synchronization becomes less frequent, resulting in progressively stale state information and larger state estimation errors. Consequently, the MILP scheduler makes increasingly suboptimal resource allocation decisions, leading to a steady increase in edge-layer, DT-layer, and overall latency, with the overall latency reaching 12.9 ms at a 5 ms update interval. Meanwhile, the task drop rate rises significantly to 84%, reflecting the growing number of tasks that miss their execution deadlines under outdated system information. In addition, the energy trend changes only moderately, with edge layer energy increasing from about 0.61 J/task to 0.96 J/task and overall energy reaching roughly 1.13 J/task at the highest update interval. DT execution energy remains close to 0.25 J/task at an interval of 1 ms and gradually decreases to about 0.18 J/task, while DT TX energy drops from approximately 0.10 J/task to about 0.00 J/task. In contrast, fairness, as Jain’s index declines from 0.907 to 0.255. It suggests that excessively frequent updates cause the scheduler to overburden a small number of servers while leaving others underutilized. Overall, these results demonstrate that frequent DT synchronization is essential for maintaining accurate system state awareness and achieving low latency, low task drop rate, high fairness, and improved energy efficiency, whereas excessively long update intervals significantly degrade scheduling performance.

Figure 2.

Figure 2

Digital twin system performance comparison for updated frequency 1, 2, 3, 4, and 5 ms.

7. Conclusions

The results demonstrate that static non-cooperative and cyclic scheduling policies are not well suited to heterogeneous healthcare edge environments with continuous task arrivals. In contrast, the proposed DT-assisted MILP scheduler eliminates task loss, achieves higher fairness, reduces per-task energy consumption, and lowers mean total power while maintaining clinically acceptable end-to-end latency.

The analysis of DT update frequency further reveals an important trade-off between responsiveness and stability. Increasing the update frequency reduces execution latency by providing more accurate and timely system information. However, it also increases synchronization overhead, task drop rates, and load imbalance across servers. These findings indicate that excessively frequent updates can degrade overall system reliability despite improving nominal latency.

For healthcare DT-enabled edge systems, moderate update frequencies combined with adaptive scheduling mechanisms provide a more effective balance between latency, reliability, and fairness. Overall, the results highlight that integrating digital twin intelligence with optimization-based scheduling is essential for achieving reliable, energy-efficient, fair, and scalable healthcare edge computing.

Acknowledgments

The authors would like to acknowledge the support provided by the Instituto de Telecomunicações, the University of Aveiro, and Data Machine Elite in facilitating this research work. The authors reviewed and edited the output and take full responsibility for the content of this publication.

Author Contributions

A.J., Conceptualization, methodology, software, formal analysis, investigation, data curation, writing, original draft preparation, visualisation. H.R.C., conceptualization, methodology, validation, review and editing, supervision. D.C., validation, review, supervision. F.J.F., resources, review, and funding acquisition. R.L.A., validation, review, supervision. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

Francisco J. Ferrão is employed by Data Machine Elite company. The company played no role in the design of the study, the collection, analysis, or interpretation of data, the writing of the manuscript, or the decision to publish the article.

Funding Statement

This work was supported by the European Union’s Horizon Europe MSCA-DN programme through the SCION Project under Grant Agreement No. 101072375 and by EU HORIZON JU SNS EXIGENGE under Grant Agreement No. 101139120 and by FCT/MCTES through Instituto de Telecomunicações (UID/50008/2025).

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Raushan R., Chaudhri S.N., Suman S., Kumar D., Kumar G., Kumar A. Proceedings of the 2025 International Conference on Machine Learning and Autonomous Systems (ICMLAS), Prawet, Thailand, 10–12 March 2025. IEEE; New York, NY, USA: 2025. Advancing Healthcare Through Internet of Things: A Comprehensive Review of Smart Healthcare Systems and Their Applications; pp. 1946–1951. [DOI] [Google Scholar]
  • 2.Santos D., Chi H.R., Almeida J., Silva R., Perdigão A., Corujo D. Fully-Decentralized Multi-MNO Interoperability of MEC-Enabled Cooperative Autonomous Mobility. IEEE Trans. Consum. Electron. 2025;71:2654–2665. doi: 10.1109/TCE.2025.3569343. [DOI] [Google Scholar]
  • 3.Mustafa T., Varol A. Proceedings of the 2020 8th International Symposium on Digital Forensics and Security (ISDFS), Beirut, Lebanon, 1–2 June 2020. IEEE; New York, NY, USA: 2020. Review of the Internet of Things for Healthcare Monitoring; pp. 1–6. [DOI] [Google Scholar]
  • 4.Selvaraj S., Sundaravaradhan S. Challenges and opportunities in IoT healthcare systems: A systematic review. SN Appl. Sci. 2020;2:139. doi: 10.1007/s42452-019-1925-y. [DOI] [Google Scholar]
  • 5.Gardašević G., Katzis K., Berbakov L. Proceedings of the 2025 31st International Conference on Telecommunications (ICT), Budva, Montenegro, 28–29 April 2025. IEEE; New York, NY, USA: 2025. Digital Twin Architecture for IoT-Based Healthcare Systems: A Preliminary Study; pp. 1–5. [DOI] [Google Scholar]
  • 6.Roopa M.S., Venugopal K.R. Digital Twins for Cyber-Physical Healthcare Systems: Architecture, Requirements, Systematic Analysis, and Future Prospects. IEEE Access. 2025;13:44963–44996. doi: 10.1109/ACCESS.2025.3547991. [DOI] [Google Scholar]
  • 7.Li X., Ding R., Liu X., Yan W., Xu J., Gao H. Proceedings of the 2018 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Ubiquitous Computing & Communications, Big Data & Cloud Computing, Social Computing & Networking, Sustainable Computing & Communications (ISPA/IUCC/BDCloud/SocialCom/SustainCom), Melbourne, VIC, Australia, 11–13 December 2018. IEEE; New York, NY, USA: 2018. COMEC: Computation Offloading for Video-Based Heart Rate Detection APP in Mobile Edge Computing; pp. 1038–1039. [DOI] [Google Scholar]
  • 8.Manoj A., Paramasivam A., Vijayalakshmi S., Bhaskar K.B., Thriumbiga S.K. Proceedings of the 2024 IEEE Students Conference on Engineering and Systems (SCES), Prayagraj, India, 21–23 June 2024. IEEE; New York, NY, USA: 2024. An Edge Computing Enabled Internet of Medical Things Device for Remote Patient Health Monitoring Applications; pp. 1–6. [DOI] [Google Scholar]
  • 9.Wang Y., Fang J., Cheng Y., She H., Guo Y., Zheng G. Cooperative End-Edge-Cloud Computing and Resource Allocation for Digital Twin Enabled 6G Industrial IoT. IEEE J. Sel. Top. Signal Process. 2024;18:124–137. doi: 10.1109/JSTSP.2023.3345154. [DOI] [Google Scholar]
  • 10.He Q., Xi Z., Feng Z., Teng Y., Ma L., Cai Y. Telemedicine Monitoring System Based on Fog/Edge Computing: A Survey. IEEE Trans. Serv. Comput. 2025;18:479–498. doi: 10.1109/TSC.2024.3506473. [DOI] [Google Scholar]
  • 11.Yin G., Chen R., Zhang Y. Proceedings of the 2022 IEEE International Conferences on Internet of Things (iThings) and IEEE Green Computing & Communications (GreenCom) and IEEE Cyber, Physical & Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics), Espoo, Finland, 22–25 August 2022. IEEE; New York, NY, USA: 2022. Effective task offloading heuristics for minimizing energy consumption in edge computing; pp. 243–249. [DOI] [Google Scholar]
  • 12.Mei J., Tong Z., Li K., Zhang L., Li K. Energy-Efficient Heuristic Computation Offloading with Delay Constraints in Mobile Edge Computing. IEEE Trans. Serv. Comput. 2023;16:4404–4417. doi: 10.1109/TSC.2023.3324604. [DOI] [Google Scholar]
  • 13.Sakthivel T., Murugesan R., Gopalan A. Proceedings of the 2026 5th International Conference on Communication, Computing and Electronics Systems (ICCCES), Coimbatore, India, 21–23 January 2026. IEEE; New York, NY, USA: 2026. Optimizing Task-Driven Cloud Scheduling using Deep Learning with Computational Complexity Analysis; pp. 1916–1920. [DOI] [Google Scholar]
  • 14.Pham L.N.H., Shrestha A., Sharma C., Gonzalez-Longatt F. Digital Twins and Cyber–Physical Systems Toward the Digitalization of Power and Energy Systems. IEEE Trans. Technol. Soc. 2025;6:393–410. doi: 10.1109/TTS.2025.3615624. [DOI] [Google Scholar]
  • 15.Wieme J., Baert M., Hoebeke J. Proceedings of the NOMS 2025—2025 IEEE Network Operations and Management Symposium, Honolulu, HI, USA, 12–16 May 2025. IEEE; New York, NY, USA: 2025. The Role of Monitoring Frequency in Optimizing Digital Twin Networks; pp. 1–7. [DOI] [Google Scholar]
  • 16.Antão F., Chi H.R., Corujo D., Cunha V.A., Sanchez M., Aguiar R.L. Toward Decarbonized Network Function Virtualization-Based ICT Management: Standardization, Architecture, and Challenges. IEEE Commun. Stand. Mag. 2026;10:162–170. doi: 10.1109/MCOMSTD.2025.3595284. [DOI] [Google Scholar]
  • 17.Chen L., Zhou S., Xu J. Computation Peer Offloading for Energy-Constrained Mobile Edge Computing in Small-Cell Networks. IEEE/ACM Trans. Netw. 2018;26:1619–1632. doi: 10.1109/TNET.2018.2841758. [DOI] [Google Scholar]
  • 18.Kaushik A., Al-Raweshidy H.S. A Hybrid Latency- and Power-Aware Approach for Beyond Fifth-Generation Internet-of-Things Edge Systems. IEEE Access. 2022;10:87974–87989. doi: 10.1109/ACCESS.2022.3200035. [DOI] [Google Scholar]
  • 19.Garg D., Narendra N.C., Tesfatsion S. Heuristic and Reinforcement Learning Algorithms for Dynamic Service Placement on Mobile Edge Cloud. arXiv. 20212111.00240 [Google Scholar]
  • 20.Shojafar M., Cordeschi N., Baccarelli E. Energy-Efficient Adaptive Resource Management for Real-Time Vehicular Cloud Services. IEEE Trans. Cloud Comput. 2019;7:196–209. doi: 10.1109/TCC.2016.2551747. [DOI] [Google Scholar]
  • 21.Kishor A., Niyogi R., Veeravalli B. Fairness-Aware Mechanism for Load Balancing in Distributed Systems. IEEE Trans. Serv. Comput. 2022;15:2275–2288. doi: 10.1109/TSC.2020.3044104. [DOI] [Google Scholar]
  • 22.La Malfa G., Zhang J.M., Luck M., Black E. Fairness Aware Reinforcement Learning via Proximal Policy Optimization. Proc. AAAI Conf. Artif. Intell. 2026;40:22725–22733. doi: 10.1609/aaai.v40i27.39434. [DOI] [Google Scholar]
  • 23.Qu Q., Liu K., Lü J. Multisatellite Scheduling via Reinforcement Learning-Based Mixed Integer Linear Programming. IEEE Trans. Aerosp. Electron. Syst. 2026;62:1478–1490. doi: 10.1109/TAES.2025.3632780. [DOI] [Google Scholar]
  • 24.Claudet T., Alimo R., Goh E., Johnston M.D., Madani R., Wilson B. δ-MILP: Deep Space Network Scheduling via Mixed-Integer Linear Programming. IEEE Access. 2022;10:41330–41340. doi: 10.1109/ACCESS.2022.3164213. [DOI] [Google Scholar]
  • 25.Yetim O.B., Martonosi M. Proceeding of IEEE International Symposium on a World of Wireless, Mobile and Multimedia Networks 2014, Sydney, NSW, Australia, 19 June 2014. IEEE; New York, NY, USA: 2014. Adaptive delay-tolerant scheduling for efficient cellular and WiFi usage; pp. 1–7. [DOI] [Google Scholar]
  • 26.Lin Y.-C., Tsai P.-H. A Multiobjective Resource Allocation Strategy for Personal Healthcare Digital Twins in Dynamic Edge Environments. IEEE Internet Things J. 2025;12:51629–51639. doi: 10.1109/JIOT.2025.3614647. [DOI] [Google Scholar]
  • 27.Jadoon A., Chi H.R., Corujo D., Aguiar R.L., Ferrão F.J. Proceedings of the 2025 IEEE International Conference on Consumer Technology-Europe (ICCT-Europe), Algarve, Portugal, 28–30 April 2025. IEEE; New York, NY, USA: 2025. Latency and Energy Modeling of Blockchain-Digital Twin-Relied Edge Computing Task Scheduling; pp. 1–3. [DOI] [Google Scholar]
  • 28.Liao H., Zhou Z., Zhao X., Zhang L., Mumtaz S., Jolfaei A. Learning-Based Context-Aware Resource Allocation for Edge-Computing-Empowered Industrial IoT. IEEE Internet Things J. 2020;7:4260–4277. doi: 10.1109/JIOT.2019.2963371. [DOI] [Google Scholar]
  • 29.Guo H., Zhou X., Wang J., Liu J., Benslimane A. Intelligent Task Offloading and Resource Allocation in Digital Twin Based Aerial Computing Networks. IEEE J. Sel. Areas Commun. 2023;41:3095–3110. doi: 10.1109/JSAC.2023.3310067. [DOI] [Google Scholar]
  • 30.Ignatius H.T.N., Bahsoon R. Equity, Equality, and Need: Digital Twin Approach for Fairness-Aware Task Assignment of Heterogeneous Crowdsourced Logistics. IEEE Trans. Comput. Soc. Syst. 2024;11:3420–3431. doi: 10.1109/TCSS.2023.3321940. [DOI] [Google Scholar]
  • 31.Almasan P., Ferriol-Galmés M., Paillisse J., Suárez-Varela J., Perino D., López D.R., Perales A.A.P., Harvey P., Ciavaglia L., Wong L., et al. Digital Twin Network: Opportunities and Challenges. [(accessed on 10 July 2026)];arXiv. 2022 Available online: https://www.semanticscholar.org/paper/Digital-Twin-Network%3A-Opportunities-and-Challenges-Almasan-Ferriol-Galm%C3%A9s/a5b308351fd126edf8f0f41babb86aac8f608b1b.2201.01144 [Google Scholar]
  • 32.Barricelli B.R., Casiraghi E., Fogli D. A survey on digital twin: Definitions, characteristics, applications, and design implications. IEEE Access. 2019;7:167653–167671. doi: 10.1109/ACCESS.2019.2953499. [DOI] [Google Scholar]
  • 33.Wang L., Wang C., Li X., Song X., Xu D. State perception and prediction of digital twin based on proxy model. IEEE Access. 2023;11:36064–36072. doi: 10.1109/ACCESS.2023.3264543. [DOI] [Google Scholar]
  • 34.Chi H.R., Domingues M.D., Zhu H., Li C., Kojima K., Radwan A. Healthcare 5.0: In the Perspective of Consumer Internet-of-Things-Based Fog/Cloud Computing. IEEE Trans. Consum. Electron. 2023;69:745–755. doi: 10.1109/TCE.2023.3293993. [DOI] [Google Scholar]
  • 35.Chen Z., Liao W., Tian P., Wang Q., Yu W. A Fairness-Aware Peer-to-Peer Decentralized Learning Framework with Heterogeneous Devices. Future Internet. 2022;14:138. doi: 10.3390/fi14050138. [DOI] [Google Scholar]
  • 36.Matsushima N., Takai T., Kawamura D., Matsuoka Y., Lee Y., Chujo N. Proceedings of the 2012 2nd IEEE CPMT Symposium Japan, Kyoto, Japan, 10–12 December 2012. IEEE; New York, NY, USA: 2012. High-stability 25 Gb/s optical transceiver module with flexible polymer wave guide for optical interconnection; pp. 1–4. [DOI] [Google Scholar]
  • 37.El-Khatib R.F., Elsayed S.A., Zorba N., Hassanein H.S. Proactive Task Allocation in Extreme Edge Computing for Digital Twin Services. IEEE Internet Things J. 2025;12:14051–14066. doi: 10.1109/JIOT.2024.3524868. [DOI] [Google Scholar]
  • 38.Eriş H.A., Aydın M.A., Erturk M.A. Toward Patient-Specific Digital Twin Models of Disease Progression Using Sequential Medical Imaging and EHR Data. Appl. Sci. 2026;16:2104. doi: 10.3390/app16042104. [DOI] [Google Scholar]
  • 39.Qureshi H.N., Manalastas M., Ijaz A., Imran A., Liu Y., Al Kalaa M.O. Communication Requirements in 5G-Enabled Healthcare Applications: Review and Considerations. Healthcare. 2022;10:293. doi: 10.3390/healthcare10020293. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Jasim A.M., Al-Raweshidy H. Towards a cooperative hierarchical healthcare architecture using the HMAN offloading scenarios and SRT calculation algorithm. IET Netw. 2023;12:9–26. doi: 10.11591/eei.v12i1.4806. [DOI] [Google Scholar]
  • 41.Jihad M., Rodshi M.T., Fahad A.A., Roy P., Razzaque M.A., Hassan M.M. Proceedings of the 2024 20th International Conference on Distributed Computing in Smart Systems and the Internet of Things (DCOSS-IoT), Abu Dhabi, United Arab Emirates, 29 April–1 May 2024. IEEE; New York, NY, USA: 2024. Quality of Experience Aware Task Offloading in Digital Twinning Vehicular Edge Computing; pp. 239–243. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES