Superposition model analysis of rare-earth doped BaY2F8