Text this: Cost-effective energy management systems strategy in optimization of photovoltaic for grid-connected system