grid sensing