Experimental Methodology to Optimize Power Flow in Utility Grid with Integrated Renewable Energy and Storage Devices Using Hidden Markov Model