Modeling magnetized star-planet interactions: boundary conditions effects