RESEARCH ON TWO LAYER OPTIMIZATION OF WIND SOLAR WATER