Add:

+a statistic random to record the number of requests that is fail to allocate resources;

Modify:
>replace the function of calculating the effective occupied capacity with a simpler line function given by (departure_time - current_time) / duration_time