Transition to Digitalized Paradigms for Security Control and Decentralized Electricity Market