UNINTERRUPTED POWER SUPPLY TO BESS BASED