Sub-metering is the installation of an additional electricity meter after the smart meter, used to provide online data on the consumption and production of electricity of selected technologies. Data from this secondary measurement is compared with the invoicing data from the smart meter. The measurement accuracy is 99.9%, which allows for detailed monitoring and optimization of energy management.