We compare algorithms to sample initial positions and momenta of a molecular system for classical trajectory simulations. We aim at reproducing the phase space quantum distribution for a vibrational eigenstate, as in Wigner theory. Moreover, we address the issue of controlling the total energy and the energy partition among the vibrational modes. In fact, Wigner's energy distributions are very broad, quite at variance with quantum eigenenergies. Many molecular processes depend sharply on the available energy, so a better energy definition is important. Two approaches are introduced and tested: the first consists in constraining the total energy of each trajectory to equal the quantum eigenenergy. The second approach modifies the phase space distribution so as to reduce the deviation of the single mode energies from the correct quantum values. A combination of the two approaches is also presented.