OPTIMAL PLANNING AND DESIGNING OF MICROGRID SYSTEMS WITH X2026