ESC499 Undergraduate Thesis: Optimizing Residential Microgrids for Environmental Justice, Microgrid Model in Julia Supervisor: Professor Hidalgo-Gonzalez