Design and real-time test of a hybrid energy storage system in the microgrid with the benefit of improving the battery lifetime. (15th May 2018)