{'fraction_non_alphanumeric': 0.013876040703052728, 'fraction_numerical': 0.0, 'mean_word_length': 4.724867724867725, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Flexible charging and discharging algorithm for electric vehicles in smart grid environment

The ascending increase in the numbers of Plug-in Electric Vehicles (PEVs) in the world brought forward many new challenges to the power grid and utility networks. Some of these challenges are related to finding and managing additional power resources for these PEVs. Green power is one of the alternatives but, we still need to find a cheap way to store this power, PEVs could play a significant role in storing power at a certain time and use it at another time. Never the less, it can play the same role with electric power from grids so it can store power from off peak time to peak time. This role might help the grid to fulfill the growing demands. In this paper, we propose flexible charging and discharging algorithm that effectively addresses and solves the problem of power demand on peak time using the PEV's batteries as a source for backup energy storage. The results show significant enhancement in the power consumption without affecting the performance of electric vehicle.