A power outage Wednesday that affected more than 3,600 National Grid customers, including the city's animal shelter, was mostly resolved by midday.