Text this: Optimal Planning of Distributed Generators and Shunt Capacitors in Isolated Microgrids With Nonlinear Loads