Joule Heating implemented