A cyber-physical system aims to improve the efficiency of social systems by analyzing sensor data collected in physical and cyber spaces. Data such as speed and power consumption from electric scooters is collected, transferred to the cloud, and analyzed to compute optimal directions and power needs. Users can obtain necessary information by entering their destination and departure time on a web application to minimize costs and maximize clean energy usage.