A rapid development of wireless technologies is observed over the last years. This is due to the growing need of increasing the data transfer rate between mobile devices. To achieve this goal, a transition to higher frequencies is required. In this sense, the terahertz (THz) range seems to be very promising. The THz communication systems should be equipped with devices capable of rapidly controlling the output radiation pattern. One of the most hopeful approaches is the use of phased array antennas. This paper presents the results of simulations of phased array antenna on a platform of metamaterial silicon with cylindrical perforations. For the first time, the dependence of the radiation pattern of a phased antenna array on the phase difference between antenna elements at a frequency of 150 GHz was simulated. The dimensions of perforations are much smaller than the wavelength in the material. The local heating of the substrate was chosen as the phase adjustment method. The obtained results confirm the possibility of practical implementation of the proposed concept for the development of widely used new generation devices with higher data transfer rate.