  A comprehensive model for describing the characteristics of pulsed signals,
generated by particle interactions in xenon detectors, is presented. An
emphasis is laid on two-phase time projection chambers, but the models
presented are also applicable to single phase detectors. In order to simulate
the pulse shape due to primary scintillation light, the effects of the ratio of
singlet and triplet dimer state populations, as well as their corresponding
decay times, and the recombination time are incorporated into the model. In a
two phase time projection chamber, when simulating the pulse caused by
electroluminescence light, the ionization electron mean free path in gas, the
drift velocity, singlet and triplet decay times, diffusion constants, and the
electron trapping time, have been implemented. This modeling has been
incorporated into a complete software package, which realistically simulates
the expected pulse shapes for these types of detectors.
