A method and apparatus is disclosed for the ablation of biological tissue to produce a therapeutic effect. An adjustment is made to the output frequency of an electrosurgical generator during the ablation cycle to accommodate changes in the electrical properties of the apparatus and the biological tissues that occur as energy is transferred to the tissue. The adjustment is made to better align the source impedance with that of the load.