Using the signals Vout and Iout, the processor 102 calculates the tissue impedance using a set of programmable instructions.After calculating the tissue impedance, the processor 102 accesses at least one look-up table or other data structure to determine an appropriate output crest factor value and output power value for the calculated tissue impedance.