implementation of a dc microgrid