Real-time data operations and causal security analysis for edge-cloud-based Smart Grid infrastructure