Voltage Regulation of DC-Microgrid with PV and Battery