BP neural network and a simulation prediction model 
of  groundwater  depth  in  western  Jilin  was 
established,  the  model  simulation  and  prediction 
accuracy  were  high (Lu  et  al., 2007).  Then  genetic 
algorithm  was  used  to  optimized  the  BP  neural 
network, a short-term prediction of groundwater level 
was made in the study area, results showed that the 
improved  neural  network  model  is  a  more  ideal 
prediction  model  for  predicting  short-term 
groundwater  level  (Chi  et  al.,  2008).  Next  wavelet 
analysis function was introduced to improve the node 
calculation of the  traditional neural  network  model, 
the improved BP neural network model was applied 
in  groundwater  prediction  in  Xinjiang  region,  the 
prediction  results  were  higher  than  the  prediction 
accuracy of the traditional BP neural network model 
(Xie, 2016). Afterwards, an improved particle swarm 
algorithm  was  proposed  to  optimize  the  thresholds 
and  weights  of  BP  networks,  a  tailings  dam 
groundwater level prediction model was established, 
the results showed that the model improved the 
prediction  accuracy  (Zhen  et  al.,  2019).  However, 
most  of  these  groundwater  prediction  methods 
establish  groundwater  level  prediction  models 
considering  only  groundwater  level  autocorrelation 
or  perform groundwater  level prediction at  a single 
monitoring station, which makes it difficult to obtain 
data  directly  affecting  groundwater  level  changes 
when  prediction  is  performed  in  a  larger  area  and 
causes  difficulties  in  prediction  work.  In  order  to 
solve the above problems, this paper proposes a BP 
neural  network  model  based  on  particle  swarm 
optimization  to  address  the  problems  of  slow 
convergence of BP neural network, easy to fall into 
local  minimum  and  low  prediction  accuracy.  The 
global search ability of the particle swarm algorithm 
is used to optimize the topology, connection weights 
and  thresholds of  the neural network,  and  the good 
global search ability of the particle swarm algorithm 
is combined with the good local search ability of the 
BP  algorithm  to  improve  the  generalization  ability 
and learning performance of the neural network, thus 
improve  the  overall  search  efficiency  of  the  neural 
network.  
In  this  paper,  taking  Xianyang  city  of  Shaanxi 
province  as  an  example,  collecting  meteorological 
data,  socio-economic  data  and  measured  phreatic 
water  depth  data,  then  calculating  the  correlation 
between the three types of data, while establishing BP 
neural network based on PSO improvement .And the 
influencing factor with good correlation is selected as 
the  input  of  groundwater  phreatic  water  depth 
prediction,  the  groundwater  depth  of  the  current 
month  is  taken as  the  output  to establish  a phreatic 
water depth prediction model, and use this model to 
realize  the  prediction  of  phreatic  water  depth  in 
Xianyang city. 
2   OVERVIEW OF THE STUDY 
AREA 
Xianyang  City  is  located  at  the  middle  of  the 
Guanzhong  Basin,  between  107°38′  and  109°10′  E 
longitude and 34°11′ and 35°32′ N latitude, and is a 
medium  industrial  city  in  Shaanxi  Province  with 
textile, electronic,  and mechanical industries, which 
not only has a long history and culture, but also has a 
leading economic position in the province. Figure 1 is 
the  geographic location  map of  the study  area.  The 
groundwater  level  in  Xianyang  City  is  in  constant 
change,  and  it  is  most  affected  by  human  factors 
mainly extraction (Zhen, 2012). The water used for 
industrial and agricultural production, lives of urban 
and rural residents in Xianyang mainly comes from 
exploration of groundwater (He et al., 2012), and the 
groundwater  has  always  accounted  for  more  than      
80% of the total water supply in the city, which is the 
most important source of water supply in Xianyang 
City (He et al., 2015). The long-term massive 
exploitation of groundwater has led to a  continuous 
decline in the groundwater level, ground subsidence, 
ground fractures and other environmental geological 
problems,  which  have  seriously  affected  city’s 
industrial and agricultural production, even affect the 
lives of the people. Before the mid-1980s, the amount 
of  groundwater  mining  in  Fengdong  general  over-
mining area of Qindu District was about 
2500×10
4
m
3
/a.  Since  the  water  source  in  the 
northwest  suburbs  of  Qindu  District  was  put  into 
construction  in  1989,  the  amount  of  groundwater 
mining in the area reached 3000×10
4
m
3
/a, resulting in 
a sharp decline in the groundwater level. From 1987 
to 1999, the water level of local lots had dropped from 
8.10 m to 27.00 m, reaching the lowest water level in 
history.  Ground  subsidence  in  the  urban  area  of 
Xianyang,  the  central  part  of  the  accumulated 
subsidence 13.4 ~ 25.7 mm, has formed 0.3 ~ 0.8 mm 
ground cracks in the north- east or nearly east-west 
direction, causing cracks  in more  than 20  buildings 
with width of the cracks 1.0 ~ 10.0 cm (Zhai, 2020). 
If the management of groundwater exploitation is not 
strengthened,  the  ground  settlement, ground  cracks, 
and building cracks will further deteriorate.