A testbed for experimental validation of a low-voltage DC nanogrid for buildings