The electric spring (ES) is a reactive compensator which is series with a noncritical load. This paper utilizes the ES in the distribution networks and examines the underlying performance operationally and economically. A virtual generator model for the electric spring is proposed to ease the study of power systems. An algorithm based on the backward/forward sweep method is proposed for solving the optimal power flow. Then, with a 24‐hour real price and load data of ISO‐NE market, the performance of ES is evaluated operationally and economically in two distribution systems. The ESs may exchange reactive power between each other and this raises active and reactive power losses. To cope this problem, the feeders' voltages of the middle load demand are set as the reference voltages of ESs in each feeder so, each ES has a different reference voltage to cease the ES power exchanges. In this work, indexes such as voltage profile, active power loss, reactive power loss, power factor, electric bill payment, net present value, internal rate of return and the payback year are measured. The results of case study confirm the ES improves power loss, voltage profile, power factor, and stability while it reduces the operation cost. [ABSTRACT FROM AUTHOR]