PDF MODELING ANALYSIS AND OPTIMIZATION OF GRID INTEGRATED AND