Cyber-Physical Systems (CPS) are emerging technological frameworks that dynamically integrate digital elements with material processes and systems. These interconnected systems harness sensing, actuation, and computation to manage real-world phenomena in instantaneously. CPS applications are diverse, ranging from industrial automation to healthcare