Modeling and optimal operation of distributed energy systems via Dynamic Programming | IEEE Conference Publication | IEEE Xplore