grid formulation