To unveil the structural mechanisms associated with variations induced by either mechanical or chemical pressure, samples of the system with as well as those with and have been prepared and characterized. Characterization includes crystal structural refinements based on powder neutron diffraction data taken at room temperature, electron microscopy for detecting a possible Ba/Sr ordering, and resistive and magnetic measurements of the superconducting transition. The effects of Sr substitution on the structural parameters are equivalent to those of a pressure of approximately The main difference is the thickness of the superconducting block which increases with increasing x and decreases with increasing pressure. As a consequence of the displacement of O4 from the (0,,0) to the position, the Ba/Sr-O4 distance decreases with increasing Sr content. At constant w, decreases at the rate of For the maximum of occurs at a value of w higher than for For the thickness of the superconducting block increases with increasing w and consequently with increasing This indicates that, at least in this system, the thickness of the superconducting block is not the key parameter controlling The stress of the Ba/Sr and the Y sites, estimated from the bond valence sums (BVSs), decreases with increasing x. For the BVS values are almost equal to the formal values of 2+ and 3+, respectively. The average BVS of Cu1 and Cu2 increases with increasing x. However, this does not correspond to a real increase because the total charge of the Cu cations, as determined by iodometric titration or neutron diffraction, remains constant with x. Our analysis of the structural data suggests that the relaxation of the Ba/Sr layer hinders the charge transfer from Cu1 to Cu2, which accounts for the decrease of with increasing x.