COSTA RICA ENERGY MANAGEMENT IN MICROGRID