The defense program of the smart grid presents grid reliability analysis, failure defense, and stability and privateness protection providers. Though the additional communication infrastructure of a smart grid supplies more protective and security mechanisms, In addition it provides a hazard of external attack and internal failures. Inside of a rep