by measuring the heat generated by Joule heating or induction heating