I'm trying to use the same code base that already has ready time, but the idea is to make a firmware that calculates the percentage of time already determined in a table for example:
Constant disk (Kd) is a characteristic of the measuring instrument and is
provided by the manufacturer. The Kd constant expresses the amount of energy (usually in Wh), measured by the instrument at each turn of the disc:
Kd = Wh / Laps
A three-phase meter may comprise a single disk with three sets of
coil (voltage and current) lagged in space, or three fixed disks to a single axis.
a) To measure the energy consumed by the load over time (5 to
10 laps of the disk of kWh);
b) Calculate, through constant disk (Kd), the energy consumed in this
time;
c) By measuring the wattmeter and the measured time, perform the calculation of
energy consumed. Compare the results with the results of this item
the items "a" and "b";
d) From the measurements of the voltmeter, ammeter and wattmeter, calculate the
the load power factor.