Use of characteristic function in open quantum systems and charge equilibrium in deep inelastic reactions