Text this: Comparative strategies for efficient control and storage of renewable energy in a microgrid