Model-based Autonomic Computing Framework for Cyber-Physical Systems