Text this: Algorithm of voltage and reactive power regulation based on the particle swarm method