Cyber-Physical Systems (CPS) are innovative technological frameworks that tightly integrate computational elements with material processes and components. These interconnected systems harness sensing, actuation, and computation to monitor real-world phenomena in instantaneously. CPS applications are diverse, ranging from industrial automation to en