Did you know that you can set the frequency of random failures? However, strangely, this setting is not found in the SETTINGS section. Instead, the MTBF [Mean Time Between Failures] is found as an option in the Flight pull-down Menu:
The failures option is also found next to the Weight, Balance & Fuel button in the initial flight customization screen:

When you click this menu option, in addition to being able to specify a particular failure, you are also able to set the time between random failures by entering an overall failure rate. However, this is deceptive since it means that any device will fail within the specified number of hours – BUT… Since there are currently 584 systems that can potentially fail, the specified time will have to be divided by the number of systems. So, if you expect some system to fail at least every 10000 hours (a reasonable supposition), you need to understand that statistically, you will get a failure of some random item every 17 hours.
Now that’s all very well, but there’s a “gotcha”. The problem comes when you quit X-Plane and start a new flight sometime later. X-Plane REMEMBERS that you have set the MTBF. You, on the other hand, may have forgotten that you enabled the checkbox and set the time interval!
Therefore, a good habit to get into before undertaking a long flight is to check this as part of your pre-flight routine.