The technology to act as inertia isn't actually hard, is it? You deliberately offset your voltage by a fraction of a millisecond and you have to handle some percent extra current.

I believe that frequency is also variable so you'd need to sample that too.

ERCOT frequencies have sagged when the grid was stressed.