The actual metrology calculations take place
in the meterology_caluclations.c file.
- This module contains the library of mathematical functions that
implement the metrology algorithms.
- The module takes inputs such as
accumulated dot products, sample counts, and calibration data.
- The module outputs the calculated
electrical parameters (for example, calculateRMSVoltage, calculateActivePower,
calculateFrequency_PLL).