; and (2) inserting after paragraph (9) the following: (10) the development of cost-effective technologies that enable two-way information and power flow between distributed energy resources and the electric grid; (11) the development of technologies and concepts that enable interoperability between distributed energy resources and other behind-the-meter devices and the electric grid; . (b) Integrating renewable energy onto the electric grid Subtitle C of title IX of the Energy Policy Act of 2005 ( 42 U.S.C. 16231 et seq.) is amended by adding at the end the following: 936. Research and development into integrating renewable energy onto the electric grid (a) In general Not later than 180 days after the enactment of the Grid Modernization Research and Development Act of 2019, the Secretary shall establish a research, development, and demonstration program on technologies that enable integration of renewable energy generation sources onto the electric grid across multiple program offices of the Department. The program shall include— (1) forecasting for predicting generation from variable renewable energy sources; (2) development of cost-effective low-loss, long-distance transmission lines; and (3) development of cost-effective advanced technologies for variable renewable generation sources to provide grid services. (b) Coordination In carrying out this program, the Secretary shall— (1) coordinate across all relevant program offices at the Department to achieve the goals established in this section, including the Office of Electricity