HOW DOES A MICROGRID WORK