Numerical simulations for an XY-spin-glass model are presented. The connection to recent experiments on high-Tc superconductors is outlined. In particular, the glass behaviour in experiments is reproduced by a 2-D model. A phase diagram important for future experiments is also provided. A substantial gain in Tc is predicted for enhanced couplings between planes. © 1987 Springer-Verlag.