add simulation based on gridsim; add reliability measurement.