This is handled by 'rolling back' the meter whenever the home produces more electricity than it consumes.
How is the credit to households accomplished?
by 'rolling back' the meter whenever the home produces more electricity than it consumes