The metering system measures how many kWh you have taken in and how many kWh you have put back out. UI will take the kWh you have put on the Grid and apply those kWh toward the kWh you've taken in. If the amount you generated exceeds what you have taken in, you will be billed and any excess will be banked and applied to the next months usage.