Monte Carlo simulation of failures in the communication network