Utility companies typically measure the electricity generated by your solar panels using a bidirectional meter. This meter tracks both the energy your solar system sends to the grid and the energy you draw from the grid. At the end of each billing period, the utility calculates the net usage and applies any credits from your solar generation.