Text this: Application of nine point logic control and predictive pid control algorithms in smart grid decision-making