A beam-beam simulation code (BBSIMC) has been developed to study the interaction between counter moving beams in colliders and its compensation: a current carrying wire for compensation of long-range beam-beam interactions and a low energy electron beam for compensation of head-on collisions. The wire and electron beam are expected to improve intensity lifetime and luminosity of the colliding beams by reducing the betatron tune spread and nonlinear effects from the beam-beam interactions. We estimate the optimal parameters of the wire and electron beam for compensating the beam-beam force by long-term simulations of beam lifetime. These compensation mechanisms are intended to improve collider performance after upgrades at RHIC and the LHC.