{'fraction_non_alphanumeric': 0.025513819985825654, 'fraction_numerical': 0.003543586109142452, 'mean_word_length': 5.477064220183486, '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}}
Optimal Placement and Sizing of Uncertain PVs Considering Stochastic Nature of PEVs

Recently, the penetration of photovoltaic (PV) units and plug-in electric vehicles (PEVs) has been quickly increased worldwide. Due to the intermittent nature of PV and the stochastic nature of PEVs, several operation problems can be noticed in distribution systems, including excessive energy losses and voltage violations. In this paper, an optimization-based algorithm is proposed to accurately determine the optimal locations and capacities of multiple PV units in the presence of PEVs to minimize energy losses while considering various system constraints. The proposed algorithm considers the uncertainty of PV and loads, and the stochastic nature of PEVs. Furthermore, the operational constraints of PEVs are incorporated in the optimization model: 1) arrival and departure times, 2) initial state of charge (SOC), 3) minimum preset state of charge by the owner, and 4) the time-of-use electricity tariff, and 5) different charging control schemes. The optimal PV planning model is formulated as a two-layer optimization problem that ensures an optimal PV allocation while optimizing PEV charging simultaneously. A two-layer metaheuristic method is developed to solve the optimization model considering annual datasets of the studied distribution systems. The results demonstrate the efficacy of the proposed algorithm.