SIZE AND POWER EXCHANGE OPTIMIZATION OF A GRID CONNECTED X2026