Text this: A Learning Probabilistic Boolean Network Model of a Smart Grid with Applications in System Maintenance