Pilatus PC12 Master Error

Got a new Pilatus and was on my 5th flight taking off and noticed a master error blinking, pushed it and went off.

10 minutes later enjoying flight got a big electric failure, everything went off, in real life why does it fails? temperatures? I guess this was totally random.

Next time I get a master error how can I check what is failing? is there any diagnostic screen?

Is there anyway to simulate failures in FS2024?