Text this: Optimal location and sizing of distributed generation to minimize losses using whale optimization algorithm