THE ROLE OF BI DIRECTIONAL INVERTERS IN MODERN ENERGY SYSTEMS