Theory of plasma contactors used in the ionosphere