DC nanogrid-based energy bank for off-grid rural communities