OPTIMAL DESIGNING OF GRID CONNECTED MICROGRID SYSTEMS FOR X2026