The governments of Azerbaijan, Georgia, Hungary and Romania have signed an agreement in the field of green energy.