As with the ice-type models, the eight-vertex model is a square lattice model, where each state is a configuration of arrows at a vertex.
We consider a N\times N lattice, with N^2 vertices and 2N^2 edges.