Gas to electric temperature conversion