A magnetosphere model based on two zones of precipitating energetic particles