In this paper, we utilize the GA method to optimize the start time units of all the OAAs to achieve our objectives. Since the start time unit is the only variable in our scheme and the constraint parameters are set in the beginning, we assume that the total fitness function is (14). In the selection process, we adopt a roulette selection method in which the individual with a better fitness value has a higher probability to be selected for further processing. In general, the time complexity of the GA process can be represented as O(generation number*(mutation complexity + crossover complexity + selection complexity)). Assume the maximal generation number, the size of the population, and the number of individuals are denoted by g, N, and na, respectively; therefore, the time complexity of our scheme is O(gNna). In this case, the time cost increases as the three parameters become larger, and, usually, the time cost of GA optimization does not satisfy people. However, in our approach, the power scheduling process is implemented at the beginning of the day; therefore, after time parameters are determined, there is enough time for power scheduling, and the algorithm running time problem is not so important. We think a time cost of a few seconds is acceptable. In this paper, the population size is 200; the probability of crossover and the probability of mutation are 90% and 2%, respectively. Finally, when the generation number reaches 1,000, the evolution process will finish.
Generally speaking, the relationship between electricity cost and DTRave is a tradeoff. In other words, as the value of DTRave increases, electricity cost decreases. However, the minimum electricity cost value would emerge at a position at which the DTRave value is about 50%, which is not definite, due to the random POE. From the result shown in Fig. 6, at the position that DTRave equals 0, it implies that the major consideration is minimizing the delay time; thus, in this case, ω1=0, ω2=1. However, when the minimum electricity cost is reached, ω1=1, ω2=0.