Text this: Control and optimization strategies to maximize the energy generated by photovoltaic sources