I have to write a code, using case 24 in matpower which it will turn off random assets (bus or generators) for a random time (MTTF) and after turn on for a random time (MTTR). I have to do this like 5 times, and every time the MTTF and MTTR must be random and different. Every time the components that doesn't work must be different. I have to do this, to find how the P changes every time.