This is the author’s version of a work that was accepted for publication in Simulation Modelling Practice and Theory. Changes resulting from the publishing process, such as peer review, editing, corrections, structural formatting, and other quality control mechanisms may not be reflected in this document. Changes may have been made to this work since it was submitted for publication. A definitive version was subsequently published in Simulation Modelling Practice and Theory, 16, 9, (2008) http://dx.doi.org/10.1016/j.simpat.2008.08.002, In this paper we present two software tools for the simulation of electron multiplication processes in radio frequency (RF) waveguides. The electric discharges are caused by the multiplication of a small initial number of electrons. These are accelerated by the RF field and produce new electrons either by collisions with the walls of the waveguide (ripping new electrons from them), or by ionization of the neutral atoms of a gas inside the device. MEST allows simulating the Multipactor effect, a discharge produced in vacuum and generated by the collision of the electrons with the walls. CEST simulates the discharge when in addition a neutral gas is present in the waveguide, at pressures lower than ground levels (often denominated Corona discharge). The main characteristic of both tools is that they implement individual-based, microscopic models, where every electron is individually represented and tracked. In the case of MEST, the simulation is discrete-event, as the trajectory of each electron can be computed analytically. In CEST we use a hybrid simulation approach. The trajectory of each electron is governed by the Langevin stochastic differential equations that take into account a deterministic RF electric force and the random interaction with the neutral atom background. In addition, wall and ionizing collisions are modelled as discrete events. The tools allow performing batches of simulations with different wall coating materials and gases, and have produced results in good agreement with experimental and theoretical data. The different output forms generated at run-time have proven to be very useful in order to analyze the different discharge processes. The tools are valuable for the selection of the most promising coating materials for the construction of the waveguide, as well as for the identification of safe operating parameters., Work sponsored by the ESA, TRP activity program 17025/03/NL/EC: Surface Treatment and Coating.