Text this: Intermediate valence. Phase diagram and kondo behaviour in a simple model.