An advanced DBS strategy for a DC nanogrid integrating several energy storage technologies