Implementation of Secure DNP3 Architecture of SCADA System for Smart Grids