Day-Ahead Optimization Algorithm for Demand Side Management in Microgridsproceedings of theIF02019-01-014OA