An Optimization Based Community Model of Consumers and Prosumers: A Real-Time Simulation and Emulation Approach - Omid Abrishambaf (2021)