THE WORKING PRINCIPLE OF BIDIRECTIONAL CHARGING AND DISCHARGING