; (B) to conduct inspections to enforce the requirements of a relevant code or standard relating to qualifying distributed energy systems; or (C) to approve the installation of, or the equipment and materials used in the installation of, qualifying distributed energy systems. (2) Qualifying distributed energy system The term qualifying distributed energy system means any equipment or materials installed in, on, or near a residential building to support onsite or local energy use, including— (A) to generate electricity from distributed renewable energy sources, including from— (i) solar photovoltaic systems or similar solar energy technologies; and (ii) wind power systems; (B) to store and discharge electricity from batteries with a capacity of at least 2 kilowatt hours; (C) to charge a plug-in electric drive vehicle at a power rate of at least 2 kilowatts; or (D) to refuel a hydrogen fuel cell electric vehicle. (3) Secretary The term Secretary means the Secretary of Energy. (b) Program Not later than 180 days after the date of enactment of this Act, the Secretary, in consultation with trade associations and other entities representing distributed energy system installers and organizations representing State, local, and Tribal governments engaged in permitting, shall carry out a program to further develop, expand, and support the adoption of a voluntary streamlined permitting and inspection process for authorities having jurisdiction to use for the permitting of qualifying distributed energy systems. (c) Activities of the program In carrying out the program established under subsection (b), the Secretary shall— (1) further develop and expand an exemplary streamlined permitting process that includes an online permitting platform— (A) for expediting, standardizing, and streamlining permitting; and (B) that authorities having jurisdiction may voluntarily use to receive, review, and approve permit applications relating to qualifying distributed energy systems