Design Space Exploration In Cyber-Physical Systems