The complexity of water management in mines