The partition function of the Potts model can be expressed in terms of famous combinatorial graph polynomials for restricted Hamiltonians. We investigate the Hamiltonian with variable edge interaction and external magnetic field, for which the partition function is the V-polynomial. Because the partition function is a polynomial, we can use motivic methods from algebraic geometry to characteriz...