thermopotential