A balancing system of a high-voltage or medium-voltage network comprising: - a network input incorporating protection units for protecting said network and units for measuring the performance of said network in order to detect the balancing requirements; - a transformer having a first winding connected to the output of said network input and configured to lower the voltage of said network; - an inverter connected to a second winding of said transformer and configured to transform an AC voltage into a DC voltage; - a set of batteries connected to said DC voltage; and - a supervision unit configured to activate said inverter and to charge or discharge said batteries when an imbalance is measured on said network by said measurement units ; - a voltage converter connected at the input to said direct voltage of said set of batteries and at the output to at least one charging socket of an electric or hybrid vehicle characterized in that said balancing system also includes means for detecting a charging requirement of said charging socket ; said supervision unit being configured to activate said voltage converter when a charging requirement is detected at said charging socket and the requirements for injection into the network are less than a threshold value; said means for detecting a charging need of said charging socket corresponding to a probe for measuring the requested charging power (Prrve) on said charging socket ; and said balancing equipment comprising a probe disposed between said voltage converter and said direct voltage of said set of batteries to measure an instantaneous power (Pre) consumed by said charging socket , and a probe disposed on said direct voltage of said set of batteries to measure an instantaneous power (Pbat) consumed by said set of batteries . - a network input incorporating protection units for protecting said network and units for measuring the performance of said network in order to detect the balancing requirements; - a transformer having a first winding connected to the output of said network input and configured to lower the voltage of said network; - an inverter connected to a second winding of said transformer and configured to transform an AC voltage into a DC voltage; - a set of batteries connected to said DC voltage; and - a supervision unit configured to activate said inverter and to charge or discharge said batteries when an imbalance is measured on said network by said measurement units ; - a voltage converter connected at the input to said direct voltage of said set of batteries and at the output to at least one charging socket of an electric or hybrid vehicle characterized in that said balancing system also includes means for detecting a charging requirement of said charging socket ; said supervision unit being configured to activate said voltage converter when a charging requirement is detected at said charging socket and the requirements for injection into the network are less than a threshold value; said means for detecting a charging need of said charging socket corresponding to a probe for measuring the requested charging power (Prrve) on said charging socket ; and said balancing equipment comprising a probe disposed between said voltage converter and said direct voltage of said set of batteries to measure an instantaneous power (Pre) consumed by said charging socket , and a probe disposed on said direct voltage of said set of batteries to measure an instantaneous power (Pbat) consumed by said set of batteries . <EOS>