Text this: Improved energy management strategy for an autonomous microgrid considering battery and partial shutdown using optimization techniques