Discrete event simulation of a hard disk drive written in Python with SimPy library.