During extreme heat waves, electric grids are often pushed to their limits because of increased demand for mechanical cooling causing power outages. Microgrids are decentralized electricity grids that can supply energy to the main grid or directly to communities. Microgrids help reduce strain on the main grid while providing a reliable and renewable source of…