Integration of gasification processes with another plant or parts within the plant with phase separation, e.g. after condensation