; (2) satellite imagery; (3) acoustic monitoring of forest habitats; (4) data from Federal law enforcement agencies; (5) to the extent practicable, foreign governments; and (6) other relevant data, as determined by the Secretary. (d) Contracts for additional data Subject to the availability of appropriations, the Secretary may enter into contracts to acquire additional relevant data to carry out the program. (e) International agreements (1) In general The Secretary shall seek to enter into agreements with foreign governments to share relevant data and artificial intelligence analysis for enforcing international and domestic laws prohibiting the trade of illegal wood products. (2) Technical assistance The Secretary may provide technical assistance to a foreign government with which the Secretary has an agreement under paragraph (1) to increase the capacity of the foreign government to participate in intelligence sharing and law enforcement activities relating to the trade of illegal wood products. III Matters relating to the Department of Energy 301. Secretary defined In this title, the term Secretary means the Secretary of Energy. 302. Grid and transmission optimization (a) Establishment of program (1) In general The Secretary, in consultation with the Chairman of the Federal Energy Regulatory Commission, shall establish a program (referred to in this section as the program ) to use artificial intelligence to optimize energy grids and transmission— (A) to minimize the loss of electrical energy; (B) to stabilize energy flows to minimize power outages and power surges; (C) to compensate for variability in energy production; (D) to maximize the efficient use of new energy sources; and (E) to account for other factors, as appropriate. (2) Deadline The program shall be established not later than 1 year after the later of— (A) the date on which the report required under section 5.2(g)(i) of Executive Order 14110 (88 Fed. Reg. 75191