Запис е-пошти: Joint detection and state estimation based on GPS spoofing attack in smart grids