The quality of electricity is a very important indicator. The durability and reliable operation of all connected devices depend on the quality of the network voltage. Rapid changes in loads, changes in network connections and the presence of uncontrolled energy sources require the development of new voltage regulation systems. This requires voltage regulation systems capable of responding quickly to sudden voltage changes. In substations with control transformers, it is possible thanks to the use of semiconductor tap changers. Moreover, voltage regulation and reactive power compensation systems should be built as one system. This is due to the close dependence of voltage and reactive power in the network node. Therefore, it was proposed to use artificial intelligence methods to build a new voltage regulation and reactive power compensation system using all measurement voltages of network nodes. In the first stage of the research, active and reactive powers, as well as the voltage of the reference node, were selected for 6420 periods of the mains voltage. The simulation results were compared for the classic voltage regulation system with semiconductor tap changers and the evolution algorithm based on voltage measurements from the entire MV network. A significant improvement in the quality of voltage regulation with the use of an evolutionary algorithm was demonstrated. Then, a second set of input data with increased values of reactive power was generated. The results of the evolutionary algorithm after the application of the classic, independent reactive power compensation system and two-criteria optimization were compared. It has been shown that only the two-criteria optimization algorithm keeps both |tgφ| within the acceptable range and the quality of voltage regulation is the best. The article compares different working algorithms for semiconductor tap changers.