Economic optimization of micro-grid operations by dynamic programming with real energy forecast. (November 2019)