Simulating the behaviour of peer specifications for mobile P2P environments