The method to calculate the RF cavity higher-order modes (HOMs) power gener
ated by unequally spaced and populated bunches in the storage rings with si
ngle beam and colliding beams is developed and presented in this paper. The
corresponding analytical formulae for calculating the HOMs power are deriv
ed.