*3.2. Microgrid PEV Charging Power Capacity*

Before dispatching power to the PEVs, the microgrid needs to determine the PEV charging power capacity, PCap. If there is no distribution voltage violation, all the PEVs obtain as much power as their maximum demands. When voltage violation occurs, a microgrid curtails its PEV charging power capacity to a value, PCP, named as "The critical charging power point". This PCP is the minimum power capacity that can meet the PEV charging SOC requirement through the microgrid PEV charging control algorithm. The critical charging power point can be obtained by using Equation (4)

$$\begin{aligned} \text{P}\_{\text{CP}} &= \min \text{(P}\_{\text{Cap}})\\ \text{s.t.} & \text{CoC}\_{i} (\text{P}\_{\text{EV},i}) \ge 0 \end{aligned} \tag{4}$$

where all the PEV,i are the outputs of the PEV charging control algorithm when applying PCap. If the first process of curtailment does not resolve the voltage violation, a second PEV charging power capacity curtailment process is needed. The further power curtailment is defined as ΔPCap, which is determined through a distributed negotiation process.
