Using IoT & Digital Twin For Cost Optimization