Pseudocode used to generate random petitions, executed in .
Require: returns false if simulation time is over, ; petition probability, ; petition type, ; returns true if it is peak time, ; get the SOLID DOMAIN from smartphone, ; generates a number between [0.0, 1.0], ; wait for five minutes, ; returns the type of data to request, ; perform the request of a concrete data to a concrete smartphone, .