Data-Driven EV Load Profiles Generation Using a Variational Auto-Encoder
Abstract
:1. Introduction
2. Literature Review
- (1)
- New technique: It is the first time in this paper to explore the feasibility of VAE in the application of load profiles generation for EVs. By employing VAE, we can generate load profiles which capture the time-varying and dynamic nature of EV loads.
- (2)
- Simple implement: Unlike traditional methods, the proposed approach can automatically learn the inherent nature of the EV loads, without the need to manually specify the probability distribution, which is suitable for generating EV loads of different time and space. In addition, it does not require a large number of samples to fit the probability distribution, which improves the efficiency of the algorithm.
- (3)
- Conditional load profiles generation: The proposed approaches provide two ways to generate conditional load profiles with specific characteristics. The first method uses the specified load data as the VAE input to generate the conditional load profiles. Another method takes the normal distribution data as the input of the decoder, and the decoder generates a large number of load profiles. Then, the load profiles are classified according to the characteristics, so as to get the required conditional load profiles.
3. Methodology
3.1. Variational Auto-Encoder
3.2. K-nearest Neighbor Algorithms
- (1)
- Load the data and initialize the value of k.
- (2)
- Calculate the Euclidean distance between test load profiles and each row of training load profiles.
- (3)
- Sort the calculated distances in ascending order based on distance values.
- (4)
- Get top k rows from the sorted array.
- (5)
- Get the most frequent class of these rows.
3.3. Indicators for Evaluating Results
- (1)
- Probability distribution of power loads: The power load is divided into several intervals, and the number of load data falling in each interval is calculated. Then, the ratio of the number of loads in each interval to the total load is calculated, and the corresponding probability histogram or the probability distribution of power loads is obtained by connecting the scattered points.
- (2)
- The temporal correlation of power loads: Here autocorrelation function will be utilized to evaluate the temporal correlation of power loads since it’s the most popular method. It is required that the temporal correlation between the generated power load profiles and the original power load profiles be consistent. The mathematical formula of autocorrelation function is as follows:
- (3)
- Duration of power loads: The duration of load power indicates the running time when the power load is greater than a certain value. The duration of power load can be expressed as follows:
- (4)
- Volatility of power loads: In order to evaluate the volatility of power load, the absolute values of the two adjacent power load differences are calculated first, and then the probability distributions of these absolute values are calculated.
3.4. Procedures of Generating Load Profiles Based on VAE
- (1)
- Data normalization: The data of load profiles needs to be normalized before the data is assigned to the encoder, otherwise the loss function may not converge. In this paper, the min-max normalization method will be used to transform the input data into the interval [0,1].
- (2)
- Coding the load profiles: The encoder constructed by deep convolution network maps the input data to the low dimensional vector space.
- (3)
- Sampling data: According to the mean and variance of the encoder output, some random number obeying the normal distribution is generated, and they will be used as the input of the decoder.
- (4)
- Decoding data: Taking the data of the sampling layer as input, the new load profiles can be obtained by the decoder composed of the deep transposed convolution network.
- (5)
- Gradient back propagation: The loss function is calculated using the output data from the decoder and the original load data. Then, the back-propagation method will be utilized to continuously adjust the weights and thresholds.
- (6)
- Generating load profiles: After the iteration, we can use the trained VAE to generate new load profiles. The proposed approaches provide two ways to generate new load profiles. The first method uses the specified load data as the VAE input to generate the conditional load profiles. Another way takes the normal distribution data as the input of the decoder, and the decoder generates a large number of load profiles. Then, the load profiles are classified by KNN, so as to get the required conditional load profiles.
4. Study Case
4.1. Parameters and Structure
4.2. Visualization of Latent Vectors
- (1)
- It assumes that the dimension of the latent vectors is 2. Then, the generated load profiles are mapped to 2-dimensional spaces, which make it more convenient to visualize.
- (2)
- Since the dimension of the latent vectors is 2, we can sample a batch of data at equal intervals from the two-dimensional space, which can represent the empirical distribution of the latent vectors in the whole two-dimensional space. Then, the sampled data is processed by the decoder, and the new load profiles can be obtained.
4.3. Generating Load Profiles
4.4. Conditional Load Profiles Generation
5. Conclusions
- (1)
- Traditional methods mainly fit the EV load distribution manually according to the driving habits of electric vehicles. Since daily routines and lifestyle vary, there is generally no unique or canonical distribution type suitable for modeling EV loads. The proposed approach can automatically learn the inherent nature of the EV loads, without the need to manually specify the probability distribution, which is suitable for generating EV loads of different time and space.
- (2)
- By mapping the load profiles to 2-D space and sampling the latent vectors, it is found that similar load profiles are grouped into a class. There are some transition spaces between the two classes of load profiles, and the load profiles in the transition space have many characteristics of load profiles.
- (3)
- With the noise data obeying normal distribution as input, the load profiles similar to the original data can be obtained by the trained decoder. By comparing the generated load profiles with the real load profiles, it is found that VAE can not only accurately capture the temporal correlation and probability distribution characteristics of the original load profiles, but also preserve the volatility of the original load profiles. In addition, the power consumption of the generated load profiles and that of the original load profiles are also consistent over a period of time.
- (4)
- The proposed approaches provide two ways to generate conditional load profiles with specific characteristics. The probability density function of the load profiles generated by the first method is highly consistent with the probability density function of the true load profiles, which shows that the first method can produce the required label load profiles well. Compared with the first method, the second method can generate an infinite number of conditional load profiles, and the conditional load profiles are also richer in style.
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Badea, G.; Felseghi, R.-A.; Varlam, M.; Filote, C.; Culcer, M.; Iliescu, M.; Răboacă, M. Design and simulation of romanian solar energy charging station for electric vehicles. Energies 2018, 12, 74. [Google Scholar] [CrossRef]
- Deb, S.; Tammi, K.; Kalita, K.; Mahanta, P. Impact of electric vehicle charging station load on distribution network. Energies 2018, 11, 178. [Google Scholar] [CrossRef]
- De Gennaro, M.; Paffumi, E.; Scholz, H.; Martini, G. Gis-driven analysis of e-mobility in urban areas: An evaluation of the impact on the electric energy grid. Appl. Energy 2014, 124, 94–116. [Google Scholar] [CrossRef]
- Harris, C.B.; Webber, M.E. An empirically-validated methodology to simulate electricity demand for electric vehicle charging. Appl. Energy 2014, 126, 172–181. [Google Scholar] [CrossRef]
- Dupačová, J.; Gröwe-Kuska, N.; Römisch, W. Scenario reduction in stochastic programming. Math. Program. 2003, 95, 493–511. [Google Scholar] [CrossRef]
- Kingma, D.P.; Welling, M. Auto-encoding variational bayes. arXiv, 2013; arXiv:1312.6114. [Google Scholar]
- Zhang, J.; Zhang, Y.; Bai, L.; Han, J. Lossless-constraint denoising based auto-encoders. Signal Process. Image Commun. 2018, 63, 92–99. [Google Scholar] [CrossRef]
- Wang, Y.; Yao, H.; Zhao, S. Auto-encoder based dimensionality reduction. Neurocomputing 2016, 184, 232–242. [Google Scholar] [CrossRef]
- Taghanaki, S.A.; Kawahara, J.; Miles, B.; Hamarneh, G. Pareto-optimal multi-objective dimensionality reduction deep auto-encoder for mammography classification. Comput. Methods Progr. Biomed. 2017, 145, 85–93. [Google Scholar] [CrossRef] [PubMed]
- Wang, X.; Kong, Y.; Cheng, Y. Dimensionality reduction for hyperspectral data based on sample-dependent repulsion graph regularized auto-encoder. Chin. J. Electron. 2017, 26, 1233–1238. [Google Scholar] [CrossRef]
- Kiasari, M.A.; Moirangthem, D.S.; Lee, M. Coupled generative adversarial stacked auto-encoder: Cogasa. Neural Netw. 2018, 100, 1–9. [Google Scholar] [CrossRef] [PubMed]
- Lin, S.-Y.; Chiang, C.-C.; Li, J.-B.; Hung, Z.-S.; Chao, K.-M. Dynamic fine-tuning stacked auto-encoder neural network for weather forecast. Future Gener. Comput. Syst. 2018, 89, 446–454. [Google Scholar] [CrossRef]
- Zhou, N.; Xiong, X.; Wang, Q. Probability model and simulation method of electric vehicle charging load on distribution network. Electr. Power Compon. Syst. 2014, 42, 879–888. [Google Scholar] [CrossRef]
- Kintner-Meyer, M.; Schneider, K.; Pratt, R. Impacts Assessment of plug-in Hybrid Vehicles on Electric Utilities and Regional us Power Grids, Part 1: Technical Analysis. Available online: https://scholar.google.com/scholar?hl=zh-CN&as_sdt=0%2C5&q=Impacts+assessment+of+plug-in+hybrid+vehicles+on+electric+utilities+and+regional+us+power+grids%2C+part+1%3A+Technical+analysis&btnG= (accessed on 3 January 2019).
- Wu, D.; Aliprantis, D.C.; Gkritza, K. Electric energy and power consumption by light-duty plug-in electric vehicles. IEEE Trans. Power Syst. 2011, 26, 738–746. [Google Scholar] [CrossRef]
- Yu, H.; Tseng, F.; McGee, R. Driving pattern identification for ev range estimation. In Proceedings of the 2012 IEEE International Electric Vehicle Conference, Greenville, South Carolina, 4–8 March 2012; pp. 1–7. [Google Scholar]
- Ashtari, A.; Bibeau, E.; Shahidinejad, S.; Molinski, T. Pev charging profile prediction and analysis based on vehicle usage data. IEEE Trans. Smart Grid 2012, 3, 341–350. [Google Scholar] [CrossRef]
- Lopes, J.A.P.; Soares, F.J.; Almeida, P.M.R. Integration of electric vehicles in the electric power system. Proc. IEEE 2011, 99, 168–183. [Google Scholar] [CrossRef]
- Clement-Nyns, K.; Haesen, E.; Driesen, J. The impact of charging plug-in hybrid electric vehicles on a residential distribution grid. IEEE Trans. Power Syst. 2010, 25, 371–380. [Google Scholar] [CrossRef]
- Flath, C.M.; Gottwalt, S.; Ilg, J.P. A revenue management approach for efficient electric vehicle charging coordination. In Proceedings of the 2012 45th Hawaii International Conference on System Sciences, 4–7 January 2012; pp. 1888–1896. [Google Scholar]
- Greene, D.L. Estimating daily vehicle usage distributions and the implications for limited-range vehicles. Transp. Res. Part B Methodol. 1985, 19, 347–358. [Google Scholar] [CrossRef]
- Schäuble, J.; Kaschub, T.; Ensslen, A.; Jochem, P.; Fichtner, W. Generating electric vehicle load profiles from empirical data of three ev fleets in southwest germany. J. Clean. Prod. 2017, 150, 253–266. [Google Scholar] [CrossRef]
- Amini, M.H.; Karabasoglu, O.; Ilić, M.D.; Boroojeni, K.G.; Iyengar, S.S. Arima-based demand forecasting method considering probabilistic model of electric vehicles’ parking lots. In Proceedings of the 2015 IEEE Power & Energy Society General Meeting, Denver, CO, USA, 26–30 July 2015; pp. 1–5. [Google Scholar]
- Paterakis, N.G.; Gibescu, M. A methodology to generate power profiles of electric vehicle parking lots under different operational strategies. Appl. Energy 2016, 173, 111–123. [Google Scholar] [CrossRef] [Green Version]
- Louie, H.M. Time-series modeling of aggregated electric vehicle charging station load. Electr. Power Compon. Syst. 2017, 45, 1498–1511. [Google Scholar] [CrossRef]
- Chen, Y.; Wang, Y.; Kirschen, D.; Zhang, B. Model-free renewable scenario generation using generative adversarial networks. IEEE Trans. Power Syst. 2018, 33, 3265–3275. [Google Scholar] [CrossRef]
- Chen, Y.; Li, P.; Zhang, B. Bayesian renewables scenario generation via deep generative networks. In Proceedings of the 2018 52nd Annual Conference on Information Sciences and Systems (CISS), Princeton, NJ, USA, 21–23 March 2018; pp. 1–6. [Google Scholar]
- Wan, Z.; Zhang, Y.; He, H. Variational autoencoder based synthetic data generation for imbalanced learning. In Proceedings of the 2017 IEEE Symposium Series on Computational Intelligence (SSCI), Honolulu, HI, USA, 27 November–1 December 2017; pp. 1–7. [Google Scholar]
- Takahashi, D.; Katsura, S. Extended reproduction of demonstration motion using variational autoencoder. In Proceedings of the 2018 IEEE 27th International Symposium on Industrial Electronics (ISIE), Cairns, QLD, Australia, 13–15 June 2018; pp. 1057–1062. [Google Scholar]
- Wand, S.; Chen, H.; Li, X.; Su, X. In Conditional Variational Automatic Encoder Method for Stochastic Scenario Generation of Wind Power and Photovoltaic System. Power Syst. Technol. 2018, 42, 1860–1867. [Google Scholar]
- Kingma, D.P.; Welling, M. Stochastic Gradient VB and the Variational Auto-Encoder. Available online: https://scholar.google.com/scholar?q=Stochastic%20Gradient%20VB%20and%20the%20Variational%20Auto-Encoder%20Kingma%202013 (accessed on 3 January 2019).
- Khorramdel, B.; Khorramdel, H.; Aghaei, J.; Heidari, A.; Agelidis, V.G. Voltage security considerations in optimal operation of bevs/phevs integrated microgrids. IEEE Trans. Smart Grid 2015, 6, 1575–1587. [Google Scholar] [CrossRef]
- Dupont, B.; Dietrich, K.; De Jonghe, C.; Ramos, A.; Belmans, R. Impact of residential demand response on power system operation: A belgian case study. Appl. Energy 2014, 122, 1–10. [Google Scholar] [CrossRef]
- Turker, H.; Florescu, A.; Bacha, S.; Chatroux, D. Load rates of low voltage transformers and medium voltage profile assessments on a real distribution electric grid based on average daily load profile (dlp) of a housing for a high penetration of plug-in hybrid electric vehicles (phevs). In Proceedings of the 2011 IEEE Vehicle Power and Propulsion Conference, Chicago, IL, USA, 6–9 September 2011; pp. 1–8. [Google Scholar]
- Shao, S.; Zhang, T.; Pipattanasomporn, M.; Rahman, S. Impact of tou rates on distribution load shapes in a smart grid with phev penetration. In Proceedings of the IEEE PES T&D 2010, New Orleans, LA, USA, 19–22 April 2010; pp. 1–6. [Google Scholar]
- Darabi, Z.; Ferdowsi, M. Aggregated impact of plug-in hybrid electric vehicles on electricity demand profile. IEEE Trans. Sustain. Energy 2011, 2, 501–508. [Google Scholar] [CrossRef]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Pan, Z.; Wang, J.; Liao, W.; Chen, H.; Yuan, D.; Zhu, W.; Fang, X.; Zhu, Z. Data-Driven EV Load Profiles Generation Using a Variational Auto-Encoder. Energies 2019, 12, 849. https://doi.org/10.3390/en12050849
Pan Z, Wang J, Liao W, Chen H, Yuan D, Zhu W, Fang X, Zhu Z. Data-Driven EV Load Profiles Generation Using a Variational Auto-Encoder. Energies. 2019; 12(5):849. https://doi.org/10.3390/en12050849
Chicago/Turabian StylePan, Zhixin, Jianming Wang, Wenlong Liao, Haiwen Chen, Dong Yuan, Weiping Zhu, Xin Fang, and Zhen Zhu. 2019. "Data-Driven EV Load Profiles Generation Using a Variational Auto-Encoder" Energies 12, no. 5: 849. https://doi.org/10.3390/en12050849
APA StylePan, Z., Wang, J., Liao, W., Chen, H., Yuan, D., Zhu, W., Fang, X., & Zhu, Z. (2019). Data-Driven EV Load Profiles Generation Using a Variational Auto-Encoder. Energies, 12(5), 849. https://doi.org/10.3390/en12050849