Design and Simulation of a Residential Microgrid | Synapse