The security procedure of a smart grid provides grid reliability Assessment, failure protection, and security and privateness protection expert services. Though the additional communication infrastructure of a smart grid provides more protective and safety mechanisms, In addition, it presents a chance of exterior attack and interior failures. In a