My electricity meter shows (+) for the reverse current. On the other hand, the standard meter shows (-)! I would like not to see anything when I have reverse current. (Completely zero!)
I found some commands in the code as follows.
/*! This switch inhibits the accumulation of per phase negative power */
#undef INHIBIT_NEGATIVE_PHASE_POWER_ACCUMULATION
/*! This switch inhibits the accumulation of total negative power */
#undef INHIBIT_NEGATIVE_TOTAL_POWER_ACCUMULATION
/* In limp mode we have no way to determine if the phase is reversed,
so just say it is not. */
phase->status &= ~PHASE_REVERSED;
#if defined(PHASE_REVERSED_DETECTION_SUPPORT)
/* If we find a negative power level we may be genuinely feeding power to the grid,
or we may be seeing a tamper condition. This is application dependant. */
reversed = FALSE;
#endif
But not sure which ones are needed to change! Any experience on reversed current?
p.s. Not to mention that I use the following evaluation module.
http://www.ti.com/lit/an/slaa409a/slaa409a.pdf