The structure and algorithms of the Monte-Carlo generator ELRADGEN 2.0
designed to simulate radiative events in polarized ep-scattering are presented.
The full set of analytical expressions for the QED radiative corrections is
presented and discussed in detail. Algorithmic improvements implemented to
provide faster simulation of hard real photon events are described. Numerical
tests show high quality of generation of photonic variables and radiatively
corrected cross section. The comparison of the elastic radiative tail simulated
within the kinematical conditions of the BLAST experiment at MIT BATES shows a
good agreement with experimental data.Comment: 36 pages, 7 figures, 3 table