A precise calculation of power system frequency | Synapse