OPTIMAL ENERGY TRANSACTIONS FOR BIDIRECTIONAL CHARGING STATIONS