Digital Twinning in Smart Grid Networks: Interplay, Resource Allocation and Use Cases