#### Abstract

According to the parking features of electric vehicles (EVs) and load of production unit, a power supply system including EVs charging station was established, and an orderly discharging strategy for EVs was proposed as well to reduce the basic tariff of producer and improve the total benefits of EV discharging. Based on the target of maximizing the annual income of producer, considering the total benefits of EV discharging, the electric vehicle aggregator (EVA) and time-of-use (TOU) price were introduced to establish the optimization scheduling model of EVs discharging. Furthermore, an improved artificial fish swarm algorithm (IAFSA) combined with the penalty function methods was applied to solve the model. It can be shown from the simulation results that the optimal solution obtained by IAFSA is regarded as the orderly discharging strategy for EVs, which could reduce the basic tariff of producer and improve the total benefits of EV discharging.

#### 1. Introduction

At present, there are two ways of pricing in China, namely, the single-part tariff and the two-part tariff. The two-part tariff, which is the big-industry price, includes basic electricity price and the electricity degree electricity price. The basic tariff related to two-part tariff can be calculated according to transformer capacity or maximum demand for user [1]. Most of production units usually pay the basic tariff according to the estimated maximum demand. Therefore, the basic tariff of the user who is large and medium-sized production unit is very expensive (e.g., when the maximum demand for a food manufacturer is 4.6 MW and its basic electricity price is 40.5 [Yuan/(kW·month)], the annual basic tariff is 2,235,600 Yuan [2]). Battery energy storage system (BESS), which can be used for load shifting to reduce the maximum demand, is a good way to reduce the basic tariff [3]. However, the cost of BESS is more expensive (e.g., if the best power of BESS is 1.52 MW and its capacity is 12.68 MWh, then its cost of investment is about 1,582,400 Yuan [3]), which is also a big cost for a production unit. If only it could find a battery replacement then the production unit will reduce its cost of investment.

With large-scale popularization of EVs, a large number of EVs, which can act as the battery replacements, will be parked at the workplace during working hours. The power consumption for an EV is low due to the short mileage between home and office [4]. Therefore, Producers can take advantage of sufficient discharging power of EVs to reduce their maximum demand and basic tariff. Furthermore, according to characteristics of EV users who respond to the TOU [5], EVs can be fully charged during valley price periods in residential areas [6, 7] and discharged in peak price time at the production units. So EV users can acquire profit from the price difference.

Based on TOU electricity price, this paper selects the discharging power of EVA in work time as the optimization variable and an optimization scheduling model of EVs discharging is established as well, which not only selects the target of maximizing the annual income of a producer to reduce the maximum demand and basic tariff but also considers EV user’s profit from discharging. Then an improved artificial fish swarm algorithm (IAFSA) combined with the penalty function methods can be applied to solve the model. Finally, the results of simulations show that the obtained orderly discharging strategy is effective and reliable.

#### 2. Optimization Scheduling Model of EVs Discharging

##### 2.1. Power Supply System Including Charging Station at Parking Lot

The researched power supply system including EVs charging station in this paper is comprised of a power grid, a distribution transformer, conventional electricity elements (i.e., electrical equipment of production), a central control unit (which is computer), and EVs charging station at parking lot (including EVs and intelligent dischargers); the system structure is as shown in Figure 1.

During the whole optimization period, the electricity demands of conventional electricity elements are satisfied by the power grid and EVs charging station. In particular, it is the assumption that the conventional electricity elements should use the power of EVs discharging in preference. Furthermore, it will not consider the situation when EVs charging station can supply the discharging power to power grid.

##### 2.2. Discharging Capacity Model of EVA

When the EVA is not introduced, the total discharging capacity of EVs at time can be represented aswhere are the discharging demands of EVs; are the discharging power of EVs; is the EV number; and is the starting time of the whole optimization period.

If a large number of EVs are modeled one by one, this will bound to increase the difficulty of modeling. If only these EVs could be regarded as an aggregator then it is feasibly and easily modeled. In order to establish the discharging capacity of EVA modeling, this paper takes the following assumptions into account:(i)A general discharging way of EVs is selected to solve the issue that there are different discharging characteristics among EVs (set the discharging power range to , (kW) [8]).(ii)Parking hours for EVs are unified (the working hours of EV users are 8:00–18:00, which is relatively fixed at a production unit running on one shift).(iii)Discharging behaviors of EVs are unified (EVs can discharge or stop at the same time, which is easily and uniformly controlled by intelligent dischargers and central control unit. In addition, the TOU for users in China is fixed for a relatively long time, which means that discharging periods of EVA can be decided in advance [9]).

Based on the above assumptions, if all of the EVs have the same discharging time, then a conversion factor can be introduced to guarantee the consistency of discharging progress among EVs and reflects each EV’s individual contribution to the EVA. Therefore, the discharging power of EV at time can be expressed aswhere is a conversion factor (it can be calculated in advance according to discharging demands of EVs); is a discharging power of EVA at time (it is the optimization variable of this paper).

According to formula (2), the central control unit can take control of each EV with orderly discharging. Thus, formula (1) can be discretized and resolved as follows:where is the total discharging capacity of EVA at time .

Similar to an EV, the SOC of EVA at time can be described by a few factors including its battery capacity , starting state of charge , and the total discharging capacity of EVA at time . where these factors can be represented aswhere is the starting state of charge of EV and is the battery capacity of EV .

##### 2.3. Multiobjective Functions

###### 2.3.1. Annual Earnings for EVs Charging Station

Most of the production units usually pay the basic tariff based on the maximum demand which can be estimated. EVs mounted at the low voltage side of distribution system can be used for load shifting to reduce the maximum demand and the basic tariff of a production unit. Thus, the annual earnings without the cost of EVs charging station investment can be expressed as where is the maximum conventional load (kW); is basic electricity price [Yuan/(kW·month)]; is the maximum equivalent load (kW); is equivalent load (kW) at time ; is conventional load (kW) at time ; is discharging efficiency of EVA; is discharging power of EVA (kW) at time ; and is the divided number of the whole optimization period.

The cost of EVs charging station investment mainly includes the cost of EV discharging device and operation and maintenance instead of the expensive batteries, which can be expressed aswhere is fixed depreciation rate of the discharging device; is cost per discharger; and is annual cost of operation and maintenance per discharger.

Based on formulae (6) and (7), the objective function of annual earnings for EVs charging station can be expressed as

###### 2.3.2. Annual Discharging Earnings for EVs

According to characteristics of EV users who respond to the TOU, EVs can be fully charged during valley price periods in residential areas and discharged in peak price time at the production units. Therefore, the annual acquired profit from the price difference for EV users can be expressed aswhere is the devoted times for EV charging station in a year (it is set to 330); is discharging price of EVs, which is peak price at production units; and is charging price of EVs, which is valley price in residential areas.

##### 2.4. Constraints

(1) Considering the capability of output power for a discharger, the maximum discharging power of EVs at each period is less than the maximum output power of a discharger. According to formula (1), the discharging power of EVA is constrained by the following:where is maximum power of discharger.

(2) The situation when EVs charging station can supply discharging power to power grid is not considered. Thus, the discharging power for EVA is less than the load of conventional electricity elements.

(3) Considering the discharging capability of EVA battery, the total discharging energy of EVA is less than the maximum discharging demand of EVA.

(4) Because the battery is the core of EV and its cost is very expensive, consider the fact that the battery life will greatly reduce when it is repeatedly started and stopped in a short time [8]. Therefore, a continuity discharging condition for EVA’s battery is introduced.

##### 2.5. Two-Objective Optimization Model

Based on the above formulae, the optimization scheduling of EVs discharging can be expressed as a two-objective optimization issue with constraints:

#### 3. Solution

##### 3.1. Multiobjective Simplified Method

In this paper, the optimization scheduling of EVs discharging is a multiobjective optimization problem which not only decreases the basic tariff for producer but also improves the benefits of EV discharging. Since the multiobjective optimization problem is a set for a group or several groups of solutions, however, there is no true optimal solution even if each target function can achieve optimum. Thus, the optimization goals in this article can be fuzzed by the selected membership function method instead of the weighted method due to the relative importance of the two-objective functions being difficultly determined [10]. After being fuzzed, the multiobjective optimization problem can be converted into a single-objective optimization problem.where is single-target membership value and is single-target indicator value. A linear function is selected as the membership function, which is expressed aswhere is an unacceptable value (in this paper, the unacceptable values of the two functions can be set to 0) and is an ideal value.

##### 3.2. Handling of Constraints

Penalty function method (PFM) is utilized to solve constrained optimization problem, which can convert a constrained optimization problem into an unconstrained optimization problem [11]. This paper uses the external point method for handling the constraints.

##### 3.3. Single-Objective Unconstrained Optimization Model

According to the multiobjective simplified method and the penalty function method, a single-objective unconstrained optimization model can be expressed aswhere is a penalty term; is a penalty function; is a penalty factor (the initial value can be set to ); is number of iterations; is the maximum number of iterations; and is a value of experience which is usually set to 5~10, and this paper sets its value to 8 [12].

##### 3.4. Improved Artificial Fish Swarm Algorithm (IAFSA)

Solving optimization scheduling problem of EV discharging is a multidimensional, multivariable, nonlinear optimization process, which is difficult to be solved by a linear programing method or other classic optimization algorithms. An artificial fish swarm algorithm (AFSA), which is a good solution to address the issue, is a stochastic search algorithm which constructs artificial fishes and imitates diverse behaviors including swarming behavior, rear-end behavior, foraging behavior, and random behavior to achieve global optimization [13]. However, AFSA has some shortcomings:(i)The accuracy of calculated solution by AFSA is low due to the fixed parameters (e.g., the visual range and moving step need to be set fixed values before executing the algorithm).(ii)There are some flaws in behaviors of artificial fishes (e.g., the foraging behavior of artificial fish in AFSA was executed many times in each iteration, which can reduce the calculation speed of the AFSA).

To overcome these shortcomings, paper [14] not only introduced adaptive parameters to improve the accuracy but also improved artificial fish behaviors to improve the program efficiency. Thus the improved artificial fish swarm algorithm (IAFSA) combined with the penalty function methods was applied to solve the model. The following are the specific procedures.

*Step 1. *Initialize basic parameters, including number of artificial fish , visual range and minimum visual range , moving step and minimum moving step , crowding factor , maximum attempt times , penalty factor , and maximum number of iterations .

*Step 2. *According to the objective functions and constraints, construct the penalty functions and generate the augmented functions for two single-objective functions.

*Step 3. *Initialize the location of each generated artificial fish. If the generated artificial fish is not an external point, then use the temporary objective function for correction.

*Step 4. *Calculate each augmented objective function value according to the location of each generated artificial fish. Select the best individual and then insert it into the bulletin board. Set the number of iterations to 1.

*Step 5. *According to the current number of iterations, calculate the penalty factor using (18). Move each artificial fish and executive diverse behaviors including swarming behavior, rear-end behavior, foraging behavior, and random behavior. Select the location of optimal artificial fish behavior as that of each artificial fish. Then calculate each augmented objective function value according to the location of each moved artificial fish and judge whether it is a better individual compared to the one from bulletin board. If so, update the data of bulletin board.

*Step 6. *Add 1 to number of iterations and judge whether it is equal to the maximum number of iterations. If so, stop iterating and set the value from bulletin board to the optimal solution for single-objective optimization; if not, go to Step 5.

*Step 7. *Based on the obtained optimization results from the above steps and , simplify processing for multiobjective functions in this paper using (17).

*Step 8. *Set parameters of the optimization problem after simplification process. According to the simplified objective function and constraints, construct the penalty functions and generate the augmented function.

#### 4. Numerical Simulation

In this study, the whole optimization period is set to 8:00–18:00 and divided into 10 sections with the duration of one hour. Besides, it is assumed that there are 400 EVs needed to be discharged in an office parking lot.

##### 4.1. Parameter Settings of Simulation

###### 4.1.1. Configuration of Dischargers

In order to meet the discharging demands of EVs, the configuration of dischargers for EVs charging station is set in Table 1.

###### 4.1.2. Configuration of EVs

At present, there are several typical EVs at home and abroad in Table 2, where the proportion of EVs is calculated according to the sales of different types of EVs.

Due to the short mileage between home and office, the initial SOC of EVs at office is assumed to follow approximately normal distribution whose mean value and standard deviation equal 0.8 and 0.03 and the expected SOC of EVs battery is set to 0.5.

###### 4.1.3. Typical Daily Load of a Producer

A typical daily load curve of a producer before regulation can be predicted and the average value per hour of load is shown in Figure 2.

###### 4.1.4. Data of Price

According to [2], the basic tariff for producer is set to 40.5 [Yuan/(kW·month)] and the valley and peak prices for users are 0.307 (Yuan/kWh) in 22:00–6:00 and 0.617 (Yuan/kWh) in 6:00–22:00 in residential areas. Because the price for producers in working time is higher than that for EV users in residential areas, this paper set EV discharging price to the TOU price in a production unit during working time, which is shown in Figure 3.

###### 4.1.5. Parameters of IAFSA

The parameters of IAFSA algorithm are set as shown in Table 3.

##### 4.2. The Results and Analysis of Simulation

Based on parameter settings of simulation, the single-objective unconstrained optimization model established previously is solved by the IAFSA and the results of simulation can be shown as follows.

###### 4.2.1. Comparison of the Cases of Unit with and without EVs

Figure 4 presents the maximum demands for producer with and without EVs. It shows that the maximum demand indeed decreases with EVs by EV orderly discharging strategy, going from 4.8 MW to 3.7785 MW. This is a decrease of 21.28% in the maximum demand of producer. Furthermore, the calculated annual earnings and cost for EVs charging station are listed in Table 4.

Table 4 clearly indicates that the annual earnings for EVs charging station () are 454,466 (Yuan); in other words, the basic tariff for producer has been reduced by 19.48%. It shows that the production unit can obviously acquire profit from the EVs discharging.

###### 4.2.2. Optimal Discharging Pattern and SOC for EVA

The optimal solution obtained by IAFSA is regarded as the orderly discharging strategy for EVs and the optimal discharging power for EVA for each period is shown in Figure 5.

Figure 5 shows that most of EVs’ discharging energy is supplied to the electricity elements of the production unit during 9:00~11:00 and 13:00~16:00. The game point between the producer and EV users is that though discharging price for EVs in 15:00~16:00 is not the highest, controlled EVs still discharge a lot in this period when the load for producer plays an important role in reducing the maximum demand. Therefore, the EV orderly discharging strategy can bring benefits for the producer and the EV users.

According to formulae (4) and (5), the SOC of the EVA battery can be computed and its discharging curve is shown in Figure 6. From Figure 6, the SOC of EVA battery is closed to be 0.5 (the expected SOC of EVs battery) at the end of the whole optimization period discharged by orderly discharging strategy. It is confirmed that the optimal pattern can meet the demands of EVs discharging commendably. In addition, the annual discharging earnings for EVs are 1,158,276 (Yuan).

#### 5. Conclusions

The orderly discharging strategy has been studied. In order to reduce the basic tariff of producer and improve the total benefits of EV discharging, a two-objective optimization model is established by controlling EVs discharging power during discharging process. Then a membership function method can be applied to converting multiobjective optimization issue into a single-objective optimization issue. Furthermore, an improved artificial fish swarm algorithm (IAFSA) combined with the penalty function methods was applied to solve the model. Finally, the results of simulations show that the obtained orderly discharging strategy is effective and reliable. Under this strategy, the maximum demand and basic tariff for producer have been reduced by 21.28% and 19.48% and the profit for EV users can be acquired.

#### Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the National High-Tech Research & Development Program of China (“863” Program) (Grant no. 2012AA050210) and Science and Technology Planning Project of Jiangsu Province (Grant no. BE2015004-4).