To prevent personnel errors, reduce transmissiontime, which is very essential in emergencies, new substations, having established a full-scale blocking and re-built substations can be brought into the automatic control system. In this paper the optimization of the substation control system and operative switching are considered. The algorithm of switching for a particular case is created, but the principle can be used in switching other devices of substation.