Simulations of electromagnetic emissions produced in a thin plasma by a continuously injected electron beam