SWITCHING AND AVERAGE MODELS OF GRID