Text this: Nonlinear Predictive Control Using Particle Swarm Optimization: Applications to Power Systems