Text this: A model predictive control approach to generator maintenance scheduling