This brief focuses on stochastic energy optimization for distributed energy resources in smart grids.