; (2) provide fair credit for energy exported to the electricity grid; (3) are transparently derived and consistently applied; and (4) are not punitive. (e) Timeframes (1) In general Timeframes for the interconnection of distributed energy resources under this Act shall be well-defined, expeditious, and not unduly protracted, as determined by the appropriate State regulatory authority. (2) Delays or denial An interconnection of distributed energy resources under this Act shall not be delayed or denied unless the electric utility demonstrates that— (A) the interconnection is unsafe or impracticable; and (B) any safety or impracticability issue demonstrated under subparagraph (A) cannot be mitigated. . 3. Electricity distribution resource planning (a) Development of electricity distribution resource plans Section 111(d) of the Public Utility Regulatory Policies Act of 1978 ( 16 U.S.C. 2621(d) ) is amended by adding at the end the following: (20) Electricity distribution resource planning (A) Definitions In this paragraph: (i) Distributed energy resource The term distributed energy resource has the meaning given the term in section 5(a). (ii) Microgrid The term microgrid means a group of interconnected loads and distributed energy resources within clearly defined electrical boundaries that— (I) acts as a single controllable entity with respect to the electricity grid; and (II) can connect and disconnect from the electricity grid to operate in grid-connected mode and island mode. (B) Requirement Each electric utility shall develop an electricity distribution resource plan on a regular basis, as determined by the appropriate State regulatory authority. (C) Components of electricity distribution resource plan An electricity distribution resource plan developed under subparagraph (B) shall identify— (i) the future electricity demand and distribution system requirements of the electric utility