Text this: Renewable-Based Microgrids: Design, Control and Optimization