; (ii) planning for and installing charging infrastructure or zero-emission vehicle-refueling infrastructure, including offering additional incentives as described in subsection (d)(4)(I); (iii) updating building codes, zoning or parking rules, or permitting or inspection processes as described in subparagraphs (F), (G), and (H) of subsection (d)(4); (iv) workforce training, including training of permitting officials; (v) public education and marketing described in the proposed marketing plan; (vi) supplementing (and not supplanting) the number of zero-emission vehicles that are purchased by State, local, and tribal governments; and (vii) necessary utility and grid upgrades as described in subsection (d)(4)(K). (C) Cost sharing (i) In general A grant provided under this paragraph shall be subject to a minimum non-Federal cost-sharing requirement of 20 percent. (ii) Non-Federal sources The Secretary shall— (I) determine the appropriate cost share for each selected applicant; and (II) require that not less than 20 percent of the cost of an activity funded by a grant under this paragraph be provided by a non-Federal source. (iii) Reduction The Secretary may reduce or eliminate the cost-sharing requirement described in clause (i), as the Secretary determines to be necessary. (iv) Calculation of amount In calculating the amount of the non-Federal share under this section, the Secretary— (I) may include allowable costs in accordance with the applicable cost principles, including— (aa) cash; (bb) personnel costs; (cc) the value of a service, other resource, or third party in-kind contribution determined in accordance with the applicable circular of the Office of Management and Budget; (dd) indirect costs or facilities and administrative costs; or (ee) any funds received under the power program of the Tennessee Valley Authority or any Power Marketing Administration (except to the extent that such funds are made available under an annual appropriations Act)