Bad data injection in smart grid: attack and defense mechanisms | Synapse