Analysis Of The Xy Spin 1/2 Model In Staggered Field And Networks Of D-Wave Josephson Junctions