Semi-analytic approach for electromagnetic problems of large arrays structures