The disclosed method and devices for coordination of rotation of the shafts of the rotary vane engine generator using reversible electrical machines can be used in engine-generators that transform heat energy into electrical energy.