; and (2) implementation of the programs authorized under title XIII of the Energy Independence and Security Act of 2007 ( 42 U.S.C. 17381 et seq.). (f) Grant and loan selection and management (1) In general In carrying out this section, the Secretary of the Treasury, in consultation with the Assistant Secretary of Commerce for Economic Development and State and local workforce development boards established under sections 101 and 107 of the Workforce Innovation and Opportunity Act ( 29 U.S.C. 3111 , 3122), shall determine the percentage of funds made available to allocate to each agency carrying out a loan or grant program under subsections (a) through (e). (2) Selection To the maximum extent practicable, in selecting grant and loan applicants under this section, the heads of the agencies carrying out the grant and loan programs shall consult and coordinate with the Assistant Secretary of Commerce for Economic Development. (g) Funding There shall be used to carry out this section from the Climate Fund $7,000,000,000 for the period of fiscal years 2016 through 2025. III Greening the grid A Fossil fuel phaseout 301. Fossil fuel phaseout (a) In general Title VI of the Public Utility Regulatory Policies Act of 1978 ( 16 U.S.C. 2601 et seq.) is amended by adding at the end the following: 610. Fossil fuel phaseout (a) Definitions In this section: (1) Administrator The term Administrator means the Administrator of the Environmental Protection Agency. (2) Base quantity of electricity The term base quantity of electricity means the total quantity of electric energy sold by a retail electric supplier, expressed in terms of megawatt hours, to electric customers for purposes other than resale during the most recent calendar year for which information is available. (3) Fossil fuel energy The term fossil fuel energy means electric energy generated, in whole or in part, by a fossil fuel resource. (4) Fossil fuel energy credit The term fossil fuel energy credit means a credit issued under subsection (f) that represents 1