Capacity configuration of hybrid energy storage