; (3) develop a strategy to accelerate efforts to bring modified defense industry cybersecurity tools to the civilian market; and (4) carry out other activities the Secretary of Homeland Security considers appropriate to meet the goals of this subsection. 1311. Grid resilience and emergency response (a) In general Not later than 180 days after the enactment of the Grid Security Research and Development Act , the Secretary shall establish a research, development, and demonstration program to enhance resilience and strengthen emergency response and management pertaining to the energy sector. (b) Grants The Secretary shall award grants to eligible entities under subsection (c) on a competitive basis to conduct research and development with the purpose of improving the resilience and reliability of electric grid by— (1) developing methods to improve community and governmental preparation for and emergency response to large-area, long-duration electricity interruptions, including through the use of energy efficiency, storage, and distributed generation technologies; (2) developing tools to help utilities and communities ensure the continuous delivery of electricity to critical facilities; (3) developing tools to improve coordination between utilities and relevant Federal agencies to enable communication, information-sharing, and situational awareness in the event of a physical or cyber-attack on the electric grid; (4) developing technologies and capabilities to withstand and address the current and projected impact of the changing climate on energy sector infrastructure, including extreme weather events and other natural disasters; (5) developing technologies capable of early detection of deteriorating electrical equipment on the transmission and distribution grid, including detection of spark ignition causing wildfires and risks of vegetation contact