Text this: Stochastic energy management of DC photovoltaic microgrids using Markov decision process