A microwave ablation system is disclosed. The system includes a microwave antenna assembly that includes an identification device configured to store an optimal frequency of the microwave antenna assembly. The system also includes a generator configured to couple to the microwave antenna assembly and to output microwave energy at an operational frequency. The generator is further configured to read the optimal frequency from the identification device and to configure the operational frequency to substantially match the optimal frequency.