In the framework of the empir projects myrails and windefcy, metas developed a primary standard for electrical power using commercial off-the-shelf components. The only custom part is the software that controls the sampling system and determines the amplitude and phase of the different frequency components of voltage and current. The system operates from dc up to 9 kHz, even with distorted signals. The basic system is limited to 700 V and 21 A. Its power uncertainty is 15 μW/VA at power frequencies and increases to 1.8 mW/VA at 9 kHz. With the extension up to 1000 V and 360 A, the system reaches power uncertainties of 20 μW/VA at power frequencies, increasing to 510 μW/VA at 9 kHz. For higher voltages or higher currents, the same principle is used. However, the uncertainties are dominated by the stability of the sources. The voltage and current channels can also be used independently to calibrate and test power quality instruments. Thanks to a time-stamping system, the system can also be used to calibrate phasor measurement units, which are synchronised to utc.