DC microgrid control and power storage control