lattice simulation module for modular