DTwin-TEC: An AI-based TEC District Digital Twin and Emulating Security Events by Leveraging Knowledge Graph