A method of controlling cooking in an electromagnetic cooking device, the electromagnetic cooking device having a cavity in which a liquid is placed and a plurality of RF feeds configured to introduce electromagnetic radiation into the cavity to heat the liquid, the method comprising the steps of:
- measuring resonance shifts inside the cavity;
- analyzing forward and backward power at the plurality of RF feeds to calculate efficiency;
- determining and monitoring a coefficient of variation of the efficiency;
- detecting a specified temperature of the liquid based on the measured resonance shifts and
- changes in the coefficient of variation in relation to expected changes in the coefficient of variation at one or more temperatures;
- and
- adjusting a power level of the electromagnetic radiation in response to detection of the specified temperature.