Simulation of a phased array transmitter