Text this: Investigation of the feasibility of microgrid under three operational configurations using whale optimization algorithm