Long-term Simulation of a DC Microgrid with Hybrid Energy Storage System and AC Coupling