When commercial electricity users turn huge loads on or off, or anything that uses power factor correction, and a slew of other loads on utility power, are responsible for 90% of the harmonic disruption in the power grid. Near where I grew up there was a building at which the major transmission lines went inside, and came out the other side.
I found out years later from my uncle, who was a lone lineman in northern Michigan for 30 years, and then became a foreman for a team building transmission lines, that that building is a switch to reverse the flow of power between 2 large power plants.
Running that switch on 96,000 V power lines has got to have a noticeable effect on the geometry of the power. But, America developed AC power transmission, and that was long ago. So, engineers have learned a few things to balance everything out. The frequency is the easiest to keep stable, because it's directly tied to the rotational speed of the generators. 3,600 rpm for fossil fuel plants, and 1,800 for nuclear plants.
It is not difficult to control that precisely. Generators will lead in stabilizing frequency according to how much power they put on the grid.