Real-Time Microgrid Simulation for Power Consumption and Energy Sources Optimization | IEEE Conference Publication | IEEE Xplore