A doubly charged ion model for ion thrusters