Added import for grid frequency