Text this: Performance monitoring algorithm for optimizing electrical power generated by using photovoltaic system