Modelling and experimental studies of impurity control in JET X-point configurations