Computer calculations of the efficiency of the Gunn generator