An effective analytical potential including plasma effects